|
|
|
|
|
by Soremwar
1992 days ago
|
|
Fundamentally, Deno works way more like the language JavaScript is meant to be according to the vision of the ECMA committee (the ones who add features to the language). Problem is that a lot of software was built upon areas where Node deviates from this standard (things like module system, language features, async management, etc) so there can't be a 1:1 translation in some cases |
|
I do wonder if they couldn't have provided a shim for the Node system-APIs, and maybe even a compatibility-mode for Node's import style? Something where you could drop a Node project into Deno, complete with NPM dependencies, and immediately run it, and then gradually convert it to "idiomatic" Deno code with the proper (typed!) system APIs and URL-style imports. If they hope to eventually replace Node, "scrap the entire library ecosystem" doesn't feel like a very realistic roadmap.