Emscripten

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Emscripten
Emscripten logo.svg
Developer(s) Alon Zakai
Stable release
1.37.5 / 13 March 2017; 3 months ago (2017-03-13)[1]
Repository github.com/kripken/emscripten.git
Written in C, C++, JavaScript[2]
Type Transpiler
License MIT License
Website emscripten.org

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[edit]

Game engines[edit]

The Unity, Godot Game Engine and Unreal Engine game engines provide an export option to HTML5, utilizing Emscripten.[6][7][8]

Frameworks & toolkits[edit]

openFrameworks exports native C++ applications to HTML5 via Emscripten.[9]

Software archiving[edit]

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[edit]

References[edit]

  1. ^ "Releases". kripken/emscripten. GitHub. Retrieved 2017-06-07. 
  2. ^ "kripken/emscripten: Emscripten: An LLVM-to-JavaScript Compiler". C: 51.8%; C++: 29.5%; JavaScript: 5.7%. 
  3. ^ Walton, Zach (2012-04-04). "Easily Port C++ To HTML5/JavaScript With Emscripten". WebProNews. iEntry Network. 
  4. ^ http://www.meshlabjs.net - Homepage of the experimental, client based, javascript, version of MeshLab that runs inside a browser
  5. ^ "Porting Examples and Demos". Emscripten GitHub wiki. Retrieved 2016-03-01. 
  6. ^ "Unity game engine heading to the browser without plug-ins". Ars Technica. Retrieved 2016-03-01. 
  7. ^ "The future of scripting in Unity – Unity Blog". Unity Technologies Blog. Retrieved 2016-03-01. 
  8. ^ "Tappy Chicken". www.unrealengine.com. Retrieved 2016-03-01. 
  9. ^ "openFrameworks setup for Emscripten". openFrameworks. Retrieved 2016-03-04. 
  10. ^ 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. 
  11. ^ Each New Boot a Miracle by Jason Scott (December 23, 2014)
  12. ^ "Internet Archive Search: "collection:softwarelibrary_msdos"". archive.org. Retrieved 2016-03-01. 

External links[edit]