News for hackers. Stuff that matters.
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.