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. …compile LLVM yourself with WebAssembly experimental target enabled, as explained in the link. [1] https://github.com/kripken/emscripten/wiki/New-WebAssembly-B...
  2. …into C/C++ in case the standard functions don't quite do the right thing with EM_ASM: [3] [1] https://github.com/kripken/emscripten/blob/6dc4ac5f9e4d8484e... [2] https://github.com/kripken/emscripten/blob/6dc4ac5f9e4d8484e... [3]…
    comment by flohofwoe · 2017-02-27 · in Emscripten/HTML integration tips
  3. …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
  4. ▲ 1
    Testing native WebAssembly in browsers
    story by bobajeff · 2017-01-05 · 0 comments
  5. …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?
  6. ▲ 2
    Emscripten: An LLVM-to-JavaScript Compiler
    story by espeed · 2016-12-15 · 0 comments
  7. …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
  8. …ww.codeproject.com/Articles/8571/Writing-Extended-St... [2] http://cppcms.com/wikipp/en/page/main [3] https://github.com/kripken/emscripten
  9. …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
  10. …and restored. SharedArrayBuffers should let us implement something faster in the near future. 1 - https://github.com/kripken/emscripten/wiki/Emterpreter
  11. …sql drivers and so on? Does this really make any sense? Maybe you have a look at emscripten https://github.com/kripken/emscripten/wiki
  12. …for convenience yet, etc. But here is how to use emscripten to emit WebAssembly currently, https://github.com/kripken/emscripten/wiki/WebAssembly
  13. …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
  14. …(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
  15. …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]…
  16. …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)
  17. 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…
  18. 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
  19. …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…
  20. 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…
  21. …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
  22. ▲ 1
    About WebAssembly, there is already an asm.js interpreter in emscripten
    story by vmorgulis · 2015-06-19 · 0 comments
  23. …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
  24. …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…
  25. Issue seems to come from Emscripten https://github.com/kripken/emscripten/issues/3171
  26. …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
  27. You could probably do it with Emscripten. https://github.com/kripken/emscripten
  28. …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…
  29. …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?
  30. ▲ 3
    Emscripten Porting Examples and Demos
    story by gadders · 2015-02-09 · 0 comments
  31. …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
  32. 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
  33. …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
  34. …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
  35. …has GWT for porting Java to Javascript You can compile C to JavaScript with emscripten[0]. [0]: https://github.com/kripken/emscripten
  36. …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…
  37. 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…
  38. …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/
  39. 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
  40. ▲ 1
    Emscripten's JavaScript libc
    story by ivank · 2014-07-02 · 0 comments
  41. will be a very simple step since swift is a llvm frontend and we already have this great tool: https://github.com/kripken/emscripten
  42. …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…
  43. …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
  44. …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
  45. > 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
  46. …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
  47. …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
  48. …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
  49. …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
  50. …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