Hacker News new | ask | show | jobs
by nachtigall 1470 days ago
It still uses node.js, right? Since it is new and for the future, why not choosing deno?
4 comments

If it's for the future, why not use something even newer than Deno, because clearly newer === better?

But on a more serious note, what could they possibly stand to gain to use Deno instead of NodeJS at this point? The languages are mostly the same, the tooling slightly different. Sounds like it'd add a lot of changes just for the sake of changing things. Not to mention newer stuff usually are less tested and higher chance of not working.

Speaking about newer, has Deno received any sort of security audits? Tauri is pretty focused on security, so one could assume that'd be a requirement before even considering Deno.

Deno does not use NPM, so there are huge gains to be made in that regard.
That seems like a huge loss in terms of productivity. In what way is that a gain?
It looks like as of a couple of years ago Deno is something the Tauri team was experimenting with: https://dev.to/tauri/use-deno-to-build-a-tauri-app-1f7h

My guess is that there's only so much change you can foist on people at once. If the point of Tauri is that JavaScript devs can leverage their existing knowledge and skills then meeting them where they (or most of them) are seems like a reasonable strategy.

According to https://github.com/tauri-apps/tauri they are using "Node.js for running the CLI (deno and pure rust are on the roadmap)"
Which you don't even have to use. I don't. I just use `cargo build` and `cargo build --release` which works exactly the same way as the CLI. Add `entr` and you get the "live-reload" feature for free too.
No, doesn't seem like it. You can optionally bundle nodejs, but it's not required.