Remix.run Logo
▲ flanbiscuit 6 hours ago

Which Node now has:

https://nodejs.org/api/permissions.html - since v20 - Apr 17, 2023

https://nodejs.org/learn/typescript/run-natively - stable and without a flag since v22.18.0 - which sometime after Apr 24, 2024 which was the v22.0.0 release

https://nodejs.org/api/single-executable-applications.html - Added in: v19.7.0, v18.16.0 but still in Active Development (not stable yet) - 2022

For reference, Deno was released in 2020 with all of these features from the start.

Feels like it always take some healthy competition for Node to make big strides like this. Like the whole io.js fork thing a long while ago.

▲oofdere 4 hours ago | parent | next [-]

You can give permissions to Web Workers when starting them in Deno, which afaict Node cannot do.

▲8n4vidtmkvmk 5 hours ago | parent | prev [-]

I didn't know node got that too but it says right at the start that malicious programs can bypass it. What's the point then?

▲genxy 4 hours ago | parent [-]

The Docker of JS runtimes. Deno will get picked up by the community. But CF should sponsor it for at least 250k a year.