News for hackers. Stuff that matters.
Re:Deno 1.34: Deno compile supports NPM packages by azangru on Thursday May 25, 2023 @07:50AM (#36069540)
I wonder if deno will ever converge with node the way io.js did.
Re:Deno 1.34: Deno compile supports NPM packages by frou_dh on Thursday May 25, 2023 @08:10AM (#36069733)
Not really, because it's not a fork and is written in a different language.
Re:Deno 1.34: Deno compile supports NPM packages by hnbad on Thursday May 25, 2023 @08:02AM (#36069658)
There are apparently plans to add a deno-style permission system to Node (I think there is experimental support behind a flag in one of the recent builds) but I don't think it will become the default the way deno does it, at least not in the foreseeable future.
Re:Deno 1.34: Deno compile supports NPM packages by davnicwil on Thursday May 25, 2023 @08:11AM (#36069738)
I put this in another comment also but yeah, the permissions feature is documented here https://nodejs.org/api/permissions.html

It definitely seems that Node is surfing in deno's wake here and taking heavy inspiration from some of the more successful features.

I guess remains to be seen if this will follow in something like the Java / Scala / Kotlin model or if it'll lead to more of a merge a la io.js - I tend to think that a merge fits better since we're dealing with runtimes and not separate languages, but I think the former model could work too.

Either way, great thing for the ecosystem!

Re:Deno 1.34: Deno compile supports NPM packages by vmfunction on Thursday May 25, 2023 @08:15AM (#36069786)
unless node convert to Rust, the future is Deno or rust based approach. The main reason to NOT use node is the who C backend.