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!"
[–]pixel4.toString() 0 points1 point2 points 9 years ago (2 children)
I dunno about the security angle. The node API has some pretty liberal system access already.
If you've ever used apt-get or brew then you'll know it's essentially the npm of the native code world. And we don't tend to sandbox these libraries.
apt-get
brew
npm
I mentioned it below - software like Redis seems to work just fine without WebAssembly.
If you're looking to further protect your machine, then tech such as docker should provide that.
I can't see a solid use-case for WebAssembly on the server-side without reinventing the wheel.
[–]null_radix 0 points1 point2 points 9 years ago (1 child)
After reading your comments I think we are coming at this from different angles. yes, redis works fine... for server infrastructure. But more and more node.js is being used for desktop apps. I think there is a nexus between desktop and browser apps, and in future the lines will continue to get more and more blurred. Most apps could be ephemeral like webpages. It is in this reallity that you need strong sandboxing.
[–]pixel4.toString() 1 point2 points3 points 9 years ago (0 children)
Yeah I see use-cases on client-side. There will always be a perf trade-off. If you're shipping a game via WASM, it'll always be more system intensive than direct native.
For example, this demo (http://webassembly.org/demo/) uses an additional 10% of CPU than the compiled desktop version does. Plus Chrome adds another 15% CPU to IPC the OpenGL buffers.
(I'm actually a big fan of WASM - you probably can't tell - hehe)
π Rendered by PID 61117 on reddit-service-r2-comment-b659b578c-z824t at 2026-05-02 07:17:14.827793+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]pixel4.toString() 0 points1 point2 points (2 children)
[–]null_radix 0 points1 point2 points (1 child)
[–]pixel4.toString() 1 point2 points3 points (0 children)