Hacker News new | ask | show | jobs
by arodyginc 1862 days ago
Should you bundle it with Deno, not Node, as Deno is also a rust project?
3 comments

Deno is on our roadmap, but the focus right now is performance, flushing out features, and performing a security audit. As was also said, Rust is used to bundle your app.
Deno and pure Rust are on the roadmap. Node.js is only used as an alternative to the Cargo based CLI.
We don't bundle with node. We bundle with rust.
Is it a misleading title then? I thought you did an alternative to Electron
Being an Electron alternative and using Node.js as an optional bundler are not mutually exclusive.
Well, I'm lost. You won
Like Electron, with Tauri you write your GUIs with HTML, CSS, and Javascript. Electron uses Node for the client-side non-GUI functionality, while Tauri instead uses Rust binaries to accomplish same. That's the alternative part. Node is not needed at all in the final build, although it may be used to create your app before bundling for release.
Maybe we need to be more clear about how nodejs CAN be used in the construction of a Tauri app, and that it is neither a requirement to make a Tauri app nor a component that is shipped with a Tauri app.