5 ms·
Very nice presentation, but it seems like this could benefit from an Emscriptened browser-based Objective-C compiler. Fabrice Bellard's browser-based Linux boo
by mietek 13y ago
Very nice presentation, but it seems like this could benefit from an Emscriptened browser-based Objective-C compiler.
Fabrice Bellard's browser-based Linux boots in less time than this prints out "Hello, world!"
- rubymaverick 13y agoWe're reusing the stuff we built for the Try iOS course we came out with late last year. I've looked into Emscripten for this and from what I saw it really wouldn't work with this course, although maybe I missed something?
- rubymaverick 13y agoLooks like work has started on using emscripten with Objective-C code: https://github.com/kripken/emscripten/pull/1162/files https://github.com/kripken/emscripten/pull/1162/files Still, a long way to go.
- simcop2387 13y agoYou could always boot the VM with an image that contains the compiler and run there. If it truly does boot faster than the results take otherwise then you could move it all into javascript that way, and not have to worry as much about the infrastructure around it.
- blueprint 13y agoWow, this is totally awesome. This is my first time hearing about emscripten and I've been a Cocoa and JS programmer for about 9 years. What are some of the coolest applications of emscripten?
- no_more_death 13y agoPDF.js is used by Firefox to render PDFs in the browser.
- croikle 13y agoPDF.js doesn't use emscripten, as far as I can tell. For a recent example of emscripten, try this one from yesterday: https://news.ycombinator.com/item?id=5673356 https://news.ycombinator.com/item?id=5673356
- marcosscriven 13y agoNot sure if this qualifies as 'cool', but I used Emscripten to port parts of OpenSCAD to Javascript http://www.fabfabbers.com/openscad http://www.fabfabbers.com/openscad