News for hackers. Stuff that matters.
Re:Try Objective-C by mietek on Thursday May 09, 2013 @03:09PM (#5682352)
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!"

Re:Try Objective-C by rubymaverick on Thursday May 09, 2013 @03:10PM (#5682360)
We'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?
Re:Try Objective-C by simcop2387 on Thursday May 09, 2013 @08:28PM (#5683813)
You 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.
Re:Try Objective-C by rubymaverick on Thursday May 09, 2013 @06:20PM (#5683377)
Looks like work has started on using emscripten with Objective-C code:

https://github.com/kripken/emscripten/pull/1162/files

Still, a long way to go.

Re:Try Objective-C by blueprint on Thursday May 09, 2013 @09:47PM (#5684079)
Wow, 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?

Re:Try Objective-C by marcosscriven on Friday May 10, 2013 @12:56PM (#5687304)
Not sure if this qualifies as 'cool', but I used Emscripten to port parts of OpenSCAD to Javascript http://www.fabfabbers.com/openscad
Re:Try Objective-C by no_more_death on Thursday May 09, 2013 @10:10PM (#5684138)
PDF.js is used by Firefox to render PDFs in the browser.
Re:Try Objective-C by croikle on Thursday May 09, 2013 @11:31PM (#5684432)
PDF.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