3 ms·
Emscripten is fantastic. https://github.com/kripken/emscripten https://github.com/kripken/emscripten LLVM -> JavaScript. The possibilities are many, wish I had
by PostOnce 14y ago
Emscripten is fantastic.
https://github.com/kripken/emscripten https://github.com/kripken/emscripten
LLVM -> JavaScript.
The possibilities are many, wish I had more time to play with this kind of stuff.
I believe it's how http://repl.it http://repl.it and similar sites work.
Tangentially, aside from porting games, http://luatut.com/crash_course.html http://luatut.com/crash_course.html is one of the better uses [of Emscripten] I've seen. Press Escape and a console drops down. Handy way to learn a language.
- zodiac 14y agorepl.it uses biwascheme, a scheme interpreter written in javascript
- dbaupp 14y agoThey also use Empythoned (CPython compiled with Emscripten, https://github.com/replit/empythoned https://github.com/replit/empythoned) and Emscripted-Ruby (Ruby compiled with Emscripten, https://github.com/replit/emscripted-ruby https://github.com/replit/emscripted-ruby) and a version of Lua compiled with Emscripted (https://github.com/replit/jsrepl/tree/master/extern/lua https://github.com/replit/jsrepl/tree/master/extern/lua), among others.
- ambrop7 14y agoSee my port of my little scripting language (NCD) to Emscripten: http://badvpn.googlecode.com/svn/wiki/emncd.html http://badvpn.googlecode.com/svn/wiki/emncd.html
- ambrop7 14y agoOpenTTD in Emscripten is particularly impressive: http://play-ttd.com/ http://play-ttd.com/