JSonGPU
The JSonGPU software enables just-in-time acceleration of JavaScript on GPUs. This is the first such effort for JavaScript, to the best of our knowledge. The software is installed as an extension to the Mozilla Firefox browser, since it needs sufficient privilege to access the machine's GPU. It makes an easy-to-use syntax available to JavaScript programmers to describe the computation they wish to perform on the GPU. A just-in-time compiler included with the software transforms this code into the GPU code using the well-known LLVM compiler framework. A run-time component of the software mediates between the user script and the GPU program.
The software has been under development for about seven months, primarily by a Masters student, starting as an independent study. It currently consists of about 2,500 lines of C++ and JavaScript code. (The public repository mentioned below contains a cleaned-up version of the code, and hence, only shows commits going back less than a month.) A technical report describes the design and some initial evaluation.
Related publications:
-
Uday Pitambare, Arun Chauhan and Saurabh Malviya. Just-in-time Acceleration of JavaScript. Technical Report TR706, School of Informatics and Computing, Indiana University, Bloomington, Indiana, USA, February 2013.
[Full text]