Fast Physics on the Web Using C++, JavaScript, and Emscripten
2018; AIP Publishing; Volume: 20; Issue: 1 Linguagem: Inglês
10.1109/mcse.2018.110150345
ISSN1558-366X
Autores Tópico(s)Scientific Computing and Data Management
ResumoThe 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.
Referência(s)