Changes

Jump to: navigation, search

Platform/AreWeFunYet

715 bytes added, 20:50, 13 March 2012
Converting C/C++ games to Javascript
= Converting C/C++ games to Javascript =
 * [http://emscripten.org/ Emscripten] can be used is an open source compiler from C/C++ to JavaScript, through LLVM.** Emscripten functions as a drop-in replacement for gcc** Can compile individual libraries and provide friendly JavaScript wrappers for thistheir C or C++ APIs, see [https://github.com/kripken/ammo.js ammo. It already supports js], a port of Bullet, and [https://github.com/kripken/box2d.js box2d.js], a port of Box2D.** Supports the main parts of APIs like libc, libc++, SDL which , POSIX** Some support for OpenGL ES 2.0 exists (see [http://ehsanakhgari.org/blog/2012-01-25/porting-opengl-application-web demo]), ehsan is working on general OpenGL support.* [http://www.mandreel.com/ Mandreel] is used by many gamesa commercial product that similarly compiles C/C++ to JavaScript through LLVM. Work on supporting It also supports Objective-C and OpenGL and is under waymore focused on compiling entire games as opposed to libraries.
= High Resolution Timers =
213
edits

Navigation menu