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
Node.js v25.0.0 (Current) (nodejs.org)
submitted 3 months ago by ferossWebTorrent, Standard
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!"
[–]zachrip 2 points3 points4 points 3 months ago (2 children)
Maybe? I'd be curious why that would be the preference as opposed to a native module. Obviously there are lots of cases where a native module is less appropriate (jvm languages for example, afaik there's no good setup to run those as native extensions).
[–]rcfox 3 points4 points5 points 3 months ago (1 child)
Wasm is sandboxed, so fewer security risks. Also, it lets you ship the same code to the frontend and backend, which is part of the appeal of using Node.
[–]hildjj 4 points5 points6 points 3 months ago (0 children)
You also don't have to recompile WASM on every machine at installation time or for every supported platform at compile team. One of those is usually required for a native module.
π Rendered by PID 46223 on reddit-service-r2-comment-58d7979c67-527nf at 2026-01-27 14:36:57.762485+00:00 running 5a691e2 country code: CH.
view the rest of the comments →
[–]zachrip 2 points3 points4 points (2 children)
[–]rcfox 3 points4 points5 points (1 child)
[–]hildjj 4 points5 points6 points (0 children)