Ask HN: Rust vs. Go vs. C++ for web-based desktop applications?
Rust has Tauri, Go has Wails, C++ has wxWebView and webview libraries. They link OS-provided modern browser engines into the compiled application, so the resource usage is modest compared to the popular Chromium + Node.js combo known as Electron.
I could not find a fulfilling discussion comparing these three. Rust vs C++ are usually measured for kernel, embedded, performance-critical tasks, and such. Go vs Rust are often measured for server-side efficiency.
How would you evaluate Rust, Go, and C++ for implementing the "business logic" of an application that's going to run on a user's Linux/macOS/Windows personal computer, when the GUI mechanics are offloaded to the web widget?
4 comments
[ 4.6 ms ] story [ 25.0 ms ] threadI know it's Rust's main selling point compared to C++, but is it also favorable for a user of statically-typed GC languages like Go, Java, C#?
These features are not easy to achieve without using the native toolkit for each platform, or bundling a monolithic cross-platform framework.