News for hackers. Stuff that matters.
Re:Why Node.js needs a virtual file system by petcat on Tuesday March 17, 2026 @11:00AM (#47413635)
Are people still building new projects on Node.js? I would have thought the ecosystem was moving to deno or bun now
Re:Why Node.js needs a virtual file system by dzogchen on Tuesday March 17, 2026 @11:08AM (#47413762)
I don't really understand what the value proposition of Bun and Deno is. And I see huge problems with their governance and long-term sustainability.

Node.js on the other hand is not owned or controlled by one entity. It is not beholden to the whims of investors or a large corporation. I have contributed to Node.js in the past and I was really impressed by its rock-solid governance model and processes. I think this an under-appreciated feature when evaluating tech options.

Re:Why Node.js needs a virtual file system by packetlost on Tuesday March 17, 2026 @11:14AM (#47413852)
Deno has some pretty nice unique features like sandboxing that, afaik, don't exist in other runtimes (yet). It's enough of a draw that it's the recommended runtime for projects like yt-dlp: https://github.com/yt-dlp/yt-dlp/issues/14404
Re:Why Node.js needs a virtual file system by worksonmine on Tuesday March 17, 2026 @11:53AM (#47414415)
Node has sandboxing these days: https://nodejs.org/api/permissions.html
Re:Why Node.js needs a virtual file system by dzogchen on Tuesday March 17, 2026 @12:40PM (#47415050)
No it doesn't, unfortunately.

> The permission model implements a "seat belt" approach, which prevents trusted code from unintentionally changing files or using resources that access has not explicitly been granted to. It does not provide security guarantees in the presence of malicious code. Malicious code can bypass the permission model and execute arbitrary code without the restrictions imposed by the permission model.

Deno's permissions model is actually a very nice feature. But it is not very granular so I think you end up just allowing everything a lot of the time. I also think sandboxing is a responsibility of the OS. And lastly, a lot of use cases do not really benefit from it (e.g. server applications).

Re:Why Node.js needs a virtual file system by zamadatix on Tuesday March 17, 2026 @11:57AM (#47414462)
If one gets nothing from them directly, they've at least been a good kick to get several features into Node. It's almost like neovim was to vim, perhaps to a lesser extent.
Re:Why Node.js needs a virtual file system by pier25 on Tuesday March 17, 2026 @12:24PM (#47414848)
I agree about the governance and long-term sustainability points but if you don't see any value in Bun or Deno is probably because (no offense) you are not paying attention.
Re:Why Node.js needs a virtual file system by gavmor on Tuesday March 17, 2026 @01:00PM (#47415340)
Faster, no transpilation, dev-ex sugar.
Re:Why Node.js needs a virtual file system by zadikian on Tuesday March 17, 2026 @01:06PM (#47415429)
Note that Bun was recently acquired by Anthropic.
Re:Why Node.js needs a virtual file system by jitl on Tuesday March 17, 2026 @11:06AM (#47413730)
loud people on twitter are always switching to the new hotness. i personally can't see myself using bun until its reputation for segfaults goes away after a few more years of stabilizing. deno seems neat and has been around for longer, but its node compatibility story is still evolving; i'm also giving it another year before i try it.
Re:Why Node.js needs a virtual file system by _flux on Tuesday March 17, 2026 @11:41AM (#47414230)
Wow, I thought you were exaggerating, but no: https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3...

Open 80, closed 492.

Re:Why Node.js needs a virtual file system by petcat on Tuesday March 17, 2026 @01:44PM (#47415868)
That's basically just Zig, right? Re-invented C but only fixed the syntax, not the problems.
Re:Why Node.js needs a virtual file system by jitl on Wednesday March 18, 2026 @01:44AM (#47421944)
it’s hard to be convinced that zig is an acceptable idea for security critical runtime for web applications.
Re:Why Node.js needs a virtual file system by _flux on Wednesday March 18, 2026 @03:42AM (#47422752)
And as I understand it, most (if not all) of these segfaults were in casual use, not when someone is trying to attack it..
Re:Why Node.js needs a virtual file system by rrr_oh_man on Tuesday March 17, 2026 @11:00AM (#47413650)
Why?
Re:Why Node.js needs a virtual file system by kitsune1 on Tuesday March 17, 2026 @11:06AM (#47413719)
The delusion in this comment is insane.
Re:Why Node.js needs a virtual file system by zadikian on Tuesday March 17, 2026 @12:27PM (#47414900)
Yes people are using Node.js, most likely the majority.