The Community for Technology Leaders
Green Image
Issue No. 01 - Jan.-Feb. (2018 vol. 20)
ISSN: 1521-9615
pp: 11-19
Alon Zakai , Mozilla
ABSTRACT
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.
INDEX TERMS
C++ language, Java, physics computing
CITATION

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.
doi:10.1109/MCSE.2018.110150345
351 ms
(Ver 3.1 (10032016))