News for hackers. Stuff that matters.
Re:Bare: Run JavaScript Everywhere by mjgoeke on Wednesday April 02, 2025 @01:08PM (#43558884)
Mobile? afaik node.js doesn't run on mobile. If that's the case the 'copy' doesn't do a good job of highlighting the big value prop.
Re:Bare: Run JavaScript Everywhere by SahAssar on Wednesday April 02, 2025 @01:17PM (#43558982)
There is nothing stopping node from running on mobile and IIRC quite a few apps embed it as a part of electron or similar frameworks.

If i understand correctly bare can instead use much smaller engines like quickjs (and maybe libjs), but I'm not sure how the stdlib situation is for those.

Re:Bare: Run JavaScript Everywhere by kasperisager on Wednesday April 02, 2025 @02:08PM (#43559532)
Bare supports both QuickJS (https://github.com/holepunchto/libqjs) and JerryScript (https://github.com/holepunchto/libjerry), yes, allowing it to run on much more constrained devices than what Node.js is capable of. I'm running it on my MediaTek-based LTE router, for example, using JerryScript.