Ask HN: Best way to write Native apps for Mac, Windows and Linux?

4 points by interactivecode ↗ HN
I'm interested in building an desktop app for all platforms. I would like to move away from building apps in the browser but I'm only familiar with JavaScript and web-technologies.

Since Electron is frowned upon, what language or platform would be suitable?

Requirements: - Mature language - Mature ecosystem - Performance better than Electron or a fast website

A major plus: - Big community of quality tutorials - Big community of packages - It's not too hard to learn for someone who knows JavaScript

-----

I've looked at the Rust eco-system, but most GUI libraries are not there yet. Swift UI looks great to work with, but would only target 1 platform. React Native or Flutter for desktop is in alfa/beta state.

6 comments

[ 3.3 ms ] story [ 25.7 ms ] thread
"Best" is relative. Two "classical" ones are c++ (qt) and java (swing, swt, or fx).
Then the answer to your question is Qt or in your case QtQuick.
Perhaps give Geeonx https://www.geeonx.de a try. It is a multiplatform C shared library. Geeonx offers one C sourcecode for Linux, Windows and macOS.