News for hackers. Stuff that matters.
Re:Emscripten (LLVM-to-JavaScript compiler) 1.0 by thasmin on Sunday April 10, 2011 @12:57AM (#2428852)
Can someone give an example of what this would be used for?
Re:Emscripten (LLVM-to-JavaScript compiler) 1.0 by vessenes on Sunday April 10, 2011 @01:28AM (#2428916)
He mentions he'd like to use it to get windowing environments compiled over to JS for use in the browser. I scoffed until playing around with his real live python 2.7 running on javascript in Chrome. YOW! That's just super cool.
Re:Emscripten (LLVM-to-JavaScript compiler) 1.0 by Jebdm on Sunday April 10, 2011 @01:03AM (#2428860)
It looks like you can use it as essentially an LLVM backend, meaning that any compiler/interpreter that uses LLVM can compile into Javascript (for use in the browser).
Re:Emscripten (LLVM-to-JavaScript compiler) 1.0 by irfn on Sunday April 10, 2011 @02:14AM (#2428982)
imagine a hugely useful c library being compiled into javascript for use in a browser env and even nodejs.
Re:Emscripten (LLVM-to-JavaScript compiler) 1.0 by skrebbel on Sunday April 10, 2011 @03:25AM (#2429087)
on the latter example: you could also just compile that hugely useful c library as a nodejs plugin directly.