Emscripten
Developer(s) | Alon Zakai |
---|---|
Stable release |
1.37.5
/ 13 March 2017[1] |
Repository |
github |
Written in | C, C++, JavaScript[2] |
Type | Transpiler |
License | MIT License |
Website |
emscripten |
Emscripten is a source-to-source compiler that runs as a back end to the LLVM compiler and produces a subset of JavaScript known as asm.js.[3] This allows applications and libraries originally designed to run as standard executables to be integrated into client side web applications. asm.js can be compiled by browsers ahead of time meaning that the compiled programs can run much faster than those traditionally written in JavaScript.
Emscripten has been used to port, among other things, Unreal Engine 3, SQLite, MeshLab,[4] and Bullet physics.[5]
Notable usage
Game engines
The Unity, Godot Game Engine and Unreal Engine game engines provide an export option to HTML5, utilizing Emscripten.[6][7][8]
Frameworks & toolkits
openFrameworks exports native C++ applications to HTML5 via Emscripten.[9]
Software archiving
In December 2014, the Internet Archive launched a DOSBox emulator compiled in Emscripten to provide browser-based access to thousands of archived MS-DOS and PC programs[10][11][12]
See also
- asm.js
- Google Native Client (PNaCl)
- Haxe
- WebAssembly
References
- ↑ "Releases". kripken/emscripten. GitHub. Retrieved 2017-06-07.
- ↑ "kripken/emscripten: Emscripten: An LLVM-to-JavaScript Compiler".
C: 51.8%; C++: 29.5%; JavaScript: 5.7%.
- ↑ Walton, Zach (2012-04-04). "Easily Port C++ To HTML5/JavaScript With Emscripten". WebProNews. iEntry Network.
- ↑ http://www.meshlabjs.net - Homepage of the experimental, client based, javascript, version of MeshLab that runs inside a browser
- ↑ "Porting Examples and Demos". Emscripten GitHub wiki. Retrieved 2016-03-01.
- ↑ "Unity game engine heading to the browser without plug-ins". Ars Technica. Retrieved 2016-03-01.
- ↑ "The future of scripting in Unity – Unity Blog". Unity Technologies Blog. Retrieved 2016-03-01.
- ↑ "Tappy Chicken". www.unrealengine.com. Retrieved 2016-03-01.
- ↑ "openFrameworks setup for Emscripten". openFrameworks. Retrieved 2016-03-04.
- ↑ Ohlheiser, Abby (2015-01-05). "You can now play nearly 2,400 MS-DOS video games in your browser". Washington Post. Retrieved 2015-01-08.
- ↑ Each New Boot a Miracle by Jason Scott (December 23, 2014)
- ↑ "Internet Archive Search: "collection:softwarelibrary_msdos"". archive.org. Retrieved 2016-03-01.