Hacker News new | ask | show | jobs
by nim2020 1861 days ago
We don't bundle with node. We bundle with rust.
1 comments

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.