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. …image - the person that handles the builds and the SDKs says that nightly builds are on the way: https://github.com/kripken/emscripten/issues/4682#issuecomme...
    comment by marcosscriven · 2017-01-05 · in Compiling Rust to Web Assembly
  2. …that Emscripten had to disable it ( https://bugs.chromium.org/p/chromium/issues/detail?id=533648 https://github.com/kripken/emscripten/pull/3867/files ). Mozilla advised developers not to adopt Local Storage due to the inherent performance…
    comment by paulddraper · 2017-01-01 · in Does Google execute JavaScript?
  3. …its test suite [2]). Not sure how complete it is. [1] http://kripken.github.io/emscripten-site/ [2] https://github.com/kripken/emscripten/blob/master/tests/hell...
    comment by cygx · 2016-11-23 · in The Lua VM, on the Web
  4. …ww.codeproject.com/Articles/8571/Writing-Extended-St... [2] http://cppcms.com/wikipp/en/page/main [3] https://github.com/kripken/emscripten
  5. …think it's fair to call it an early prototype. [disclaimer: I'm a WebAssembly contributor] [0]: https://github.com/kripken/emscripten/wiki/WebAssembly [1]: https://github.com/WebAssembly/binaryen [2]: https://github.com/WebAssembly/sexpr-wa…
    comment by binji · 2016-07-13 · in WebAssembly Specification Prototype
  6. …and restored. SharedArrayBuffers should let us implement something faster in the near future. 1 - https://github.com/kripken/emscripten/wiki/Emterpreter
  7. …sql drivers and so on? Does this really make any sense? Maybe you have a look at emscripten https://github.com/kripken/emscripten/wiki
  8. …for convenience yet, etc. But here is how to use emscripten to emit WebAssembly currently, https://github.com/kripken/emscripten/wiki/WebAssembly
  9. …for production yet. You're better off producing a separate fallback asm.js bundle for now. [0]: https://github.com/kripken/emscripten/wiki/WebAssembly [1]: https://github.com/webassembly/binaryen
  10. …(right now it translates asm.js to WebAssembly), but the new backend is not ready yet. See also https://github.com/kripken/emscripten/wiki/WebAssembly
  11. …mostly in the form of plugins, and plugins are going away, so they have to move to JavaScript. [1] https://github.com/kripken/emscripten/wiki/Linking [2] http://kripken.github.io/emscripten-site/docs/porting/pthrea... [3]…
  12. …fully dynamic memory usage the way C and C++ do natively (allocating and freeing pages to the OS), https://github.com/kripken/emscripten/wiki/Split-Memory (but the flexibility makes it harder for JS engines to optimize)
  13. Emscripten has an option to chunk the typed array, https://github.com/kripken/emscripten/wiki/Split-Memory In that mode, memory allocation is basically like in C and C++: each block can be allocated and freed independently. Of course, this…
  14. Whats the benefit of this compared to using https://github.com/kripken/emscripten ?
    comment by flipgimble · 2015-11-07 · in Shift.js: Swift to JavaScript Transpiler
  15. …backends? Right now the issue is library support - swiftc can already just spit out LLVM IR: https://github.com/kripken/emscripten/issues/2427 The stdlib would be included in the open source release. Linux boxes would fulfill "non-Apple…
  16. I found some bugs and commented on the original pull request for the pthread support. https://github.com/kripken/emscripten/pull/3266 . In my opinion, the pthread support itself works well now. But the biggest problem of the implementation…
  17. …https://github.com/dreamlayers/em-dosbox https://bitbucket.org/tsone/em-fceux and others https://github.com/kripken/emscripten/wiki/Porting-Examples-...
    comment by bobajeff · 2015-07-27 · in Play GTA V in your Browser, Sort of
  18. …has been for years now. The fact that all of these demos work at the speeds that they do is proof: https://github.com/kripken/emscripten/wiki/Porting-Examples-...
    comment by lectrick · 2015-05-16 · in Why I’m breaking up with Google Chrome
  19. …makes asm.js "insane" by comparison? The syntax? There's a bytecode for asm.js too if you want it. https://github.com/kripken/emscripten/wiki/Emterpreter > If I want to implement asm.js, I have to implement a full JavaScript JIT (if I want…
  20. Issue seems to come from Emscripten https://github.com/kripken/emscripten/issues/3171
  21. …pausing and resuming code, so synchronous code isn't a problem. More details on emterpreter here: https://github.com/kripken/emscripten/wiki/Emterpreter
    comment by azakai · 2015-04-12 · in BrowserHack: NetHack ported to the web
  22. You could probably do it with Emscripten. https://github.com/kripken/emscripten
  23. …anything like the Emterpreter. At least not for startup speed - see the wiki page for other uses https://github.com/kripken/emscripten/wiki/Emterpreter But there are some huge multimillion line codebases that you can't really reduce in…
  24. …for non ASM code after it warms up. [0] https://github.com/nickdesaulniers/emscripten-memprof [1] https://github.com/kripken/emscripten/pull/3178
    comment by ndesaulniers · 2015-02-19 · in What does “asm.js optimizations” mean?
  25. …platform technologically. We can treat it like a VM. Yep...Got it. More than three years ago. https://github.com/kripken/emscripten/graphs/contributors
    comment by vegabook · 2015-01-23 · in The Emularity
  26. Hi, this could be what you need :) https://github.com/kripken/emscripten/wiki/Asyncify
    comment by coolwanglu · 2014-11-30 · in Vim.js – JavaScript port of Vim
  27. …use that I'm familiar with for asm.js is to make use of an existing C/C++ codebase. See e.g. all of https://github.com/kripken/emscripten/wiki/Porting-Examples-... and especially the utilities section. Rewriting Poppler, GnuPlot, eSpeak or…
    comment by beagle3 · 2014-11-03 · in Massive: The asm.js Benchmark
  28. …an important real-world codebase (IMVU). Might also be relevant discussion on the emscripten repo, https://github.com/kripken/emscripten/issues?q=is%3Aopen+is%... as some debate happened there while implementing code generation that emits…
    comment by azakai · 2014-10-30 · in Introducing SIMD.js
  29. …has GWT for porting Java to Javascript You can compile C to JavaScript with emscripten[0]. [0]: https://github.com/kripken/emscripten
  30. …as well as directly to native code using LLVM's MCJIT engine (using COMPILE). emscripten ( https://github.com/kripken/emscripten ) says that it compiles LLVM-IR to JavaScript. I haven't used emscripten, but I believe everything I read on…
  31. I don't see why we couldn't do this. emscripten ( https://github.com/kripken/emscripten ) says it takes LLVM-IR to JavaScript. The Clasp (Common Lisp) function COMPILE-FILE compiles to LLVM-IR bitcode files. If you have some time and you…
  32. …heart of Elm or React.js). I fail yet to see what advantages PureScript brings compared to Elm. 0: https://github.com/kripken/emscripten 1: http://asmjs.org 2: http://elm-lang.org/
  33. If anyone from Cheerp reads this, I use emscripten ( https://github.com/kripken/emscripten ) at the moment, is Cheerp any better ? Specifically does it compile faster, generates a smaller final .js output, or produce "faster" code ?
    comment by pierre-renaux · 2014-08-12 · in Cheerp – A C/C++ compiler for web applications
  34. will be a very simple step since swift is a llvm frontend and we already have this great tool: https://github.com/kripken/emscripten
  35. …be compiled to Javascript that runs at reasonable speeds (not just toy applications, either). See: https://github.com/kripken/emscripten/wiki And yep, I was right. Web workers do make use of multiple cores, and there's at least one…
  36. …should already be targeting OpenGL ES 2. http://www.infoq.com/news/2013/05/lua-vm-javascript https://github.com/kripken/emscripten/issues/457 https://github.com/kripken/emscripten/wiki/Roadmap Is your engine open source? I anticipate a JS…
    comment by sitkack · 2014-02-10 · in Godot Engine open sourced
  37. …emscripten wiki page [2]. [1] https://hacks.mozilla.org/2013/12/gap-between-asm-js-and-nat... [2] https://github.com/kripken/emscripten/wiki
    comment by gaoprea · 2014-01-15 · in List of languages that compile to JS
  38. > You wanna port all that to JS? Go right ahead! It is already done. https://github.com/kripken/emscripten/wiki
    comment by cLeEOGPw · 2013-12-05 · in Why you should use OpenGL and not DirectX
  39. …gzipped emscriptem output (which uses asm.js) is about the same size as gzipped native code. [1] https://github.com/kripken/emscripten/wiki/FAQ
    comment by jdlshore · 2013-11-28 · in On Asm.js
  40. …manage to move FFMPEG encoding into multiple web workers I'd love to read their writeup though! [1] https://github.com/kripken/emscripten/issues/953
  41. …it to native binaries to run on the server side, but the development language can be C++. [1] [1] https://github.com/kripken/emscripten/wiki
  42. …for GPL compliance with PCE, a dump of the source is available[2]. [0] http://www.hampa.ch/pce/ [1] https://github.com/kripken/emscripten [2] http://jamesfriend.com.au/pce-js/pcejs20131028.zip
    comment by mambodog · 2013-10-28 · in Run Mac OS System 7 in your browser
  43. …we're able to translate python into javascript with emscripten or is there additional work to do? ( https://github.com/kripken/emscripten/wiki ) Edit: Furthermore, how practical is this?
    comment by zubspace · 2013-09-23 · in LLVM Python
  44. …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
  45. …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…
  46. …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
  47. …[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
  48. …Caveat: I'm a Mozillian. [1] https://github.com/jashkenas/coffee-script/wiki/List-of-lang... [2] https://github.com/kripken/emscripten/wiki
  49. Regarding Emscripten bootstrapping: https://github.com/kripken/emscripten/issues/430
  50. …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.