The Community for Technology Leaders
Green Image
Issue No. 01 - Jan.-Feb. (2018 vol. 20)
ISSN: 1521-9615
pp: 11-19
Alon Zakai , Mozilla
The web is now capable of running computationally intensive code at near-native speed, enabling new types of content such as physics simulations to be easily shared online. In this article, the author shows how to do just that by writing code in C++ and compiling it to the web with the open-source Emscripten tool, which generates asm.js, a fast subset of JavaScript that runs in all web browsers.
C++ language, Java, physics computing

A. Zakai, "Fast Physics on the Web Using C++, JavaScript, and Emscripten," in Computing in Science & Engineering, vol. 20, no. 1, pp. 11-19, 2018.
289 ms
(Ver 3.3 (11022016))