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
20082026
-
…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 -
…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? -
…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 -
…ww.codeproject.com/Articles/8571/Writing-Extended-St... [2] http://cppcms.com/wikipp/en/page/main [3] https://github.com/kripken/emscripten
comment by rpeden · 2016-11-04 · in Ask HN: What does a C++ fullstack mean to you? -
…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 -
…and restored. SharedArrayBuffers should let us implement something faster in the near future. 1 - https://github.com/kripken/emscripten/wiki/Emterpreter
comment by nteon · 2016-05-18 · in Browsix – A Unix-Like Operating System for the Browser -
…sql drivers and so on? Does this really make any sense? Maybe you have a look at emscripten https://github.com/kripken/emscripten/wiki
comment by azazel75 · 2016-03-31 · in A Python-to-JavaScript Transpiler with BabelJS and SourceMaps -
…for convenience yet, etc. But here is how to use emscripten to emit WebAssembly currently, https://github.com/kripken/emscripten/wiki/WebAssembly
comment by azakai · 2016-03-15 · in Experimental support for WebAssembly in V8 -
…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
comment by s3th · 2016-03-15 · in Experimental support for WebAssembly in V8 -
…(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
comment by azakai · 2016-03-11 · in Brendan Eich: WebAssembly is a game-changer -
…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]…
comment by azakai · 2016-01-16 · in A look at asm.js and the future with WebAssembly -
…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)
comment by azakai · 2015-11-07 · in Cheerp 1.1 – C++ for the Web with fast startup times, dynamic memory -
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…
comment by azakai · 2015-11-07 · in Cheerp 1.1 – C++ for the Web with fast startup times, dynamic memory -
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 -
…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…
comment by gorena · 2015-08-27 · in Why I want Swift to be your first language -
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…
comment by gunyarakun · 2015-08-13 · in Emscripten gains experimental pthreads support -
…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 -
…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 -
…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…
comment by pcwalton · 2015-05-07 · in Bringing Asm.js to Chakra and Microsoft Edge -
Issue seems to come from Emscripten https://github.com/kripken/emscripten/issues/3171
comment by hugoamnov · 2015-05-06 · in Show HN: kiUi – Lightweight auto-layout stylable UI toolkit -
…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 -
You could probably do it with Emscripten. https://github.com/kripken/emscripten
comment by dangoor · 2015-03-01 · in Mozilla to open first-world front in Firefox OS war -
…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…
comment by azakai · 2015-02-23 · in The Emterpreter: Run asm.js code before it can be parsed -
…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? -
…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 -
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 -
…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 -
…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 -
…has GWT for porting Java to Javascript You can compile C to JavaScript with emscripten[0]. [0]: https://github.com/kripken/emscripten
comment by RussianCow · 2014-10-24 · in Google j2objc, a Java to iOS Objective-C translation tool and runtime -
…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…
comment by drmeister · 2014-09-25 · in Clasp – A Common Lisp with LLVM back end and interoperation with C++ -
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…
comment by drmeister · 2014-09-25 · in Clasp – A Common Lisp with LLVM back end and interoperation with C++ -
…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/
comment by bru · 2014-09-23 · in PureScript: a statically typed language which compiles to JavaScript -
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 -
will be a very simple step since swift is a llvm frontend and we already have this great tool: https://github.com/kripken/emscripten
comment by DAddYE · 2014-06-07 · in JavaScript as an alternative to AppleScript on OS X Yosemite -
…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…
comment by Turing_Machine · 2014-05-11 · in (Web) Development Sucks, and It's Not Getting Any Better -
…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 -
…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 -
> 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 -
…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
comment by mtrimpe · 2013-11-15 · in Process videos in browser using FFmpeg compiled to JavaScript -
…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
comment by dragonwriter · 2013-10-29 · in For modern development, Javascript is just something you need to learn -
…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 -
…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 -
…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 -
…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…
comment by networked · 2013-09-17 · in jor1k: OR1000 Javascript Emulator Running Linux -
…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
comment by nxn · 2013-08-08 · in Staring at the Sun: Dalvik vs. Asm.js vs. Native -
…[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 -
…Caveat: I'm a Mozillian. [1] https://github.com/jashkenas/coffee-script/wiki/List-of-lang... [2] https://github.com/kripken/emscripten/wiki
comment by Yoric · 2013-07-01 · in Mozilla and Partners Prepare to Launch First Firefox OS Smartphones -
Regarding Emscripten bootstrapping: https://github.com/kripken/emscripten/issues/430
comment by zwass · 2013-05-15 · in Show HN: CoderPad, an etherpad + REPL for coding interviews -
…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.
comment by bjeanes · 2013-05-14 · in Show HN: CoderPad, an etherpad + REPL for coding interviews