Hacker GitHub

← All repos

emscripten-core/emscripten

View on GitHub ↗ ★ 27,756 C++

Emscripten: An LLVM-to-WebAssembly Compiler

148 mentions on Hacker News by 123 people: 14 stories, 134 comments · first 2011-04-16 · latest 2026-06-13

Mentions per year 148 mentions · busiest year 2013 (21)
20082026
  1. …3 into the web[2]. Note taht Emscripten is actually entitled An LLVM-to-JavaScript Compiler [1] https://github.com/kripken/emscripten [2] https://blog.mozilla.org/blog/2013/03/27/mozilla-is-unlockin...
    comment by DanielRibeiro · 2013-09-18 · in RedScript – like CoffeeScript, in Ruby
  2. …the browser (which right now can be done for a lot of software by compiling it to JavaScript with https://github.com/kripken/emscripten ). Data could be transferred to the VM for processing and then back to "normal" JavaScript using serial…
  3. …for it to actually output asm.js style code. See "Q. How fast will the compiled code be?" from: https://github.com/kripken/emscripten/wiki/FAQ
  4. …[2] https://blog.mozilla.org/mbest/2013/06/25/asm-js-its-really-... [3] https://github.com/kripken/emscripten [4] http://games.slashdot.org/story/13/03/28/2113234/emscripten-...
    comment by breckinloggins · 2013-07-15 · in Enough with the JavaScript already
  5. …Caveat: I'm a Mozillian. [1] https://github.com/jashkenas/coffee-script/wiki/List-of-lang... [2] https://github.com/kripken/emscripten/wiki
  6. Regarding Emscripten bootstrapping: https://github.com/kripken/emscripten/issues/430
  7. …so I believe you'd need a C++ implementation in JS ... As far as I know, things like Emscripten ( https://github.com/kripken/emscripten/wiki ) can compile C/C++ to JS, but the compilation itself doesn't happen in JS.
  8. 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.
    comment by rubymaverick · 2013-05-09 · in Try Objective-C
  9. …- emscripten: Creating a LLVM-to-JS system to allow porting native code to the web https://github.com/kripken/emscripten/ - SVG Project: Help with the implementation and testing of Mozilla's Scalable Vector Graphics engine…
    comment by Paul_D_Santana · 2013-04-07 · in What can I do for Mozilla
  10. …Is that because all the common matrix transforms can already be offloaded to native browser APIs? https://github.com/kripken/emscripten/wiki
    comment by euroclydon · 2013-04-03 · in Asm.js: The JavaScript Compile Target
  11. …) and python ( https://github.com/replit/empythoned ) are built using emscripten ( https://github.com/kripken/emscripten/wiki ) I would imagine that other languages like C could be brought in if they could be compiled using emscripten.…
  12. The C++ LLVM library is hard to compile to js. Didn't succeed last time[1]. [1] https://github.com/kripken/emscripten/issues/579
    comment by arcatek · 2013-03-25 · in Compiling LLJS to asm.js
  13. …what emscripten does, and is very mature and being used to port massive 3d games to the web. https://github.com/kripken/emscripten See the BananaBread demo: https://developer.mozilla.org/en-US/demos/detail/bananabread
    comment by jlongster · 2013-03-25 · in Compiling LLJS to asm.js
  14. https://github.com/kripken/emscripten/wiki
    comment by jevinskie · 2013-03-25 · in Compiling LLJS to asm.js
  15. Personally, I think https://github.com/kripken/emscripten/wiki is mind-blowingly amazing. Check out the demos for sure.
    comment by jesusabdullah · 2013-02-17 · in Ask HN: What is the coolest JS library out there?
  16. OK, how about : 1) getting Python ==> LLVM bytecode 2) then using emscripten ( https://github.com/kripken/emscripten/wiki ) to run LLVM in browser? An option to perform the first step seems to be : http://code.google.com/p/py2llvm/ Or…
    comment by kelvin0 · 2012-12-15 · in Brython - Python to Javascript translator
  17. There's always emscriptem https://github.com/kripken/emscripten
    comment by otibom · 2012-12-13 · in Developing a Lua VM in JavaScript
  18. Emscripten is fantastic. 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 and similar sites work. Tangentially,…
    comment by PostOnce · 2012-11-30 · in Dune II ported to the Web with Emscripten
  19. …I didn't know about emscripten, I just found many nice projects on that link so here it is again: https://github.com/kripken/emscripten/wiki
  20. Here's how Emscripten does it: https://github.com/kripken/emscripten/blob/master/src/shell....
  21. How about emscripten then? https://github.com/kripken/emscripten *Not that I would.
    comment by billwashere · 2012-10-09 · in LLJS: Low-Level JavaScript
  22. Perhaps not entirely what you're after, but Mozilla's Emscripten project will allow that: https://github.com/kripken/emscripten
    comment by robhawkes · 2012-09-13 · in There is something magical about Firefox OS
  23. Looking at issues in https://github.com/kripken/emscripten/wiki/Filesystem-Guide it seems to be there would be a big win in having an LLVM VM - you'd be able to have synchronous IO and have threads.
    comment by sedachv · 2012-08-14 · in Cling: Running C++ in an interpreter
  24. …different to what would be achieved by running Emscripten[1] on the normal C PHP interpreter? [1]: https://github.com/kripken/emscripten
    comment by dbaupp · 2012-07-26 · in php.js - Run PHP code in JavaScript
  25. ▲ 1
    Work begins on an LLVM backend for emscripten
    story by simonster · 2012-07-19 · 0 comments
  26. ▲ 7
    LLVM-to-JavaScript compiler
    story by EzGraphs · 2012-06-29 · 1 comment
  27. Why not mentioning running Linux kernel? http://bellard.org/jslinux Also, with https://github.com/kripken/emscripten you can run a "port" quite a bunch of apps to JavaScript. And don't forget you can decode several audio codecs:…
    comment by tbassetto · 2012-06-25 · in Things you didn't know JavaScript could do
  28. …work with platform libs. Examples: http://syntensity.blogspot.com/2011/05/emscripten-12-doom-on... https://github.com/kripken/emscripten/issues/331 https://github.com/kripken/emscripten/wiki/Filesystem-Guide Why I know this: I spent a fair…
    comment by zackzackzack · 2012-05-16 · in Emacsy, an embeddable Emacs
  29. ▲ 91
    Emscripten - LLVM (bitcode) to JavaScript Compiler
    story by pooriaazimi · 2012-05-06 · 2 comments
  30. Probably, however, you're probably better off using emscripten ( https://github.com/kripken/emscripten/ , which uses the llvm backend and running ruby from there
    comment by Sanddancer · 2012-05-01 · in DoppioVM: a JVM in CoffeeScript
  31. …when input is entered through the keyboard), and I haven't thought about handling that. [1] https://github.com/kripken/emscripten
  32. …[2] http://pyppet.blogspot.com/2011/04/rpython-to-javascript.htm... [3] https://github.com/kripken/emscripten [4] https://github.com/tav/naaga/tree/master/webkit_bridge
    comment by tav · 2012-03-15 · in Why we need Python in the Browser
  33. …all the missing pieces. [1] http://docs.python.org/release/3.0.1/whatsnew/3.0.html#perfo... [2] https://github.com/kripken/emscripten/wiki [3] http://pyjs.org/ [4] http://code.google.com/p/v8-juice/
    comment by ramanujan · 2012-03-05 · in What’s New In Python 3.3
  34. ▲ 1
    Emscripten - LLVM to JavaScript Compiler
    story by cobrausn · 2012-01-27 · 0 comments
  35. …port of eSpeak and porting it to the browser and node.js [2] as a contributor (not author) [1]: https://github.com/kripken/emscripten [2]: https://github.com/christopherdebeer/speak.js I'm curious how best one could participate/contribute…
  36. Sounds like a job for emscripten: https://github.com/kripken/emscripten/wiki
  37. ▲ 1
    LLVM to Javascript compiler
    story by cwalcott · 2011-10-20 · 0 comments
  38. ▲ 81
    Emscripten, an LLVM-to-JavaScript compiler
    story by fredoliveira · 2011-10-01 · 13 comments
  39. We might as well go full circle :) https://github.com/kripken/emscripten/wiki http://news.ycombinator.com/item?id=1644192
    comment by evilduck · 2011-09-15 · in JavaScript is Not Web Assembly
  40. …VM to a more abstract level... hmm, sounds like JS as better compiler target over time. See also https://github.com/kripken/emscripten/ .
  41. …do this was Clue in 2008 ( http://cluecc.sourceforge.net/ ), now all the hype is about emscripten ( https://github.com/kripken/emscripten ) LLVM bytecode to JS compiler. Doing compilation GWT/Clojurescript style is going to reduce…
    comment by sedachv · 2011-07-21 · in ClojureScript
  42. Another project in the same vein: https://github.com/kripken/emscripten/
  43. If this works out, it basically also means Scala->JavaScript through emscripten ( https://github.com/kripken/emscripten ). Slow, probably, and probably with nearly impossible interfacing with the DOM and JS libraries, but still - pretty…
    comment by skrebbel · 2011-06-06 · in Scala on LLVM
  44. …you are with Mozilla considering the guy behind the llvm-to-javascript compiler works there too... https://github.com/kripken/emscripten
  45. ▲ 23
    LLVM to JS compiler- kripken/emscripten
    story by United857 · 2011-05-31 · 12 comments
  46. …bytecode as a library. Such a library would probably use the Relooper algorithm from Emscripten ( https://github.com/kripken/emscripten ) and JIT the bytecode to Javascript that can then be eval'd for near Javascript-level speed.
  47. …really need to look at Coffeescript ( http://jashkenas.github.com/coffee-script/ ) and Emscripten ( https://github.com/kripken/emscripten ). I use coffeescript for all of my javascript development now and life has never been better. I've…
  48. So now that we have https://github.com/kripken/emscripten and a reliable LLVM backend for GHC, has anyone tried compiling Haskell to JavaScript? My instinct is that the world would explode but I can't be sure.