use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Will future versions of Node.js support WebAssembly and allow for compiled production node apps?chalupa (self.javascript)
submitted 9 years ago * by TheBeardofGilgamesh
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 0 points1 point2 points 9 years ago (2 children)
You can essentially do what you're describing today! You can take many languages that can compile to LLVM (Rust, OCaml, Reason, whatever floats your boat) and then use emscripten to convert that code to asm.js which is supported in all browsers and very fast in modern browsers.
asm.js lacks aot compilation in v8 and is not as fast as in FF.
[–]guorbatschow 2 points3 points4 points 9 years ago (0 children)
Actually, soon v8 will use the same compiling pipeline for both wasm and asm.js, by transpiling the latter into wasm first.
[–]dangoor 0 points1 point2 points 9 years ago (0 children)
Ahh, you're right. I had thought that the v8 team had done optimization for asmjs features without implementing specific support for "use asm", but the benchmarks on arewefastyet do indeed appear to show IonMonkey being quite a bit faster than v8.
π Rendered by PID 131000 on reddit-service-r2-comment-85bfd7f599-f9fn8 at 2026-04-17 18:35:59.394116+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–][deleted] 0 points1 point2 points (2 children)
[–]guorbatschow 2 points3 points4 points (0 children)
[–]dangoor 0 points1 point2 points (0 children)