Ask HN: Rust vs. Go vs. C++ for web-based desktop applications?

https://news.ycombinator.com/item?id=40112244
by obdev • 2 years ago
1 4 2 years ago

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?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com