Live data from Hacker News

Ask HN: Best stack for building a desktop app?

news.ycombinator.com

31–40 of 47 posts

Re: Ask HN: Best stack for building a desktop app?

#31
I have good experience with https://wails.io. It uses a Go backend and a JavaScript frontend with Go functions exposed to the JavaScript side, and events with senders and listeners on both sides. All without the enormous bloat of Electron.

On the JavaScript side you can use whatever you like: plain JavaScript, react, vue, svelte, … whatever you’re familiar with.

And it can cross compile to Windows, Mac and Linux, so all major platforms covered.

Re: Ask HN: Best stack for building a desktop app?

#32
I got fed up with electron a few months ago and making steady progress building Electrobun.

You can think of it like Tauri but you just write typescript for the main and browser contexts. Under the hood it’s powered by bun and zig.

https://github.com/blackboardsh/electrobun

Still a ways to go (I’m currently porting a large app from electron to electrobun and filling in the api as I go) but check back in a couple months.

It’ll be (in my opinion) the best stack to build desktop apps.

Re: Ask HN: Best stack for building a desktop app?

#33
post #24

In general for a great experience on the desktop you want to use the native stack of each platform, so C# / Windows SDK in Windows, GTK in most Linux distros and whatever Mac officially recommends. You could use electron and build cross platform apps using web technologies, but I'm yet to use an electron based app that doesn't feel like crap.

VS Code is electron and it has been optimized to the hilt. I have used it on Mac, Windows and Linux and the experience is uniformly great. It feels native on every platform (responsiveness is not as snappy as vim but it’s good enough and I’m getting a lot of extra features in return, like remote for instance)

But it didn’t come for free. I can tell a lot of engineering hours were spent fixing little issues like different/conflicting keystroke mappings in all 3 platforms.

Re: Ask HN: Best stack for building a desktop app?

#34
post #20

Electron. /thread Seriously, even John Carmack would probably use Electron because it provides the most value to customer per unit of effort input.

And the result is noticeable. Electron is becoming synonymous to shoddily built apps. Even though you can write buggier apps with native SDK, but the amount of works that been put into them elevates the final result. Not so much with Electron.

Yeah, just like Unity is becoming synonymous with shitty asset-flip games -- because it puts making games within reach of the laziest and least competent among us.

Electron has democratized desktop app development and put it within reach of everybody -- but having bad apps on it doesn't make it bad in itself. Remember, the most-used programmers' editor is also an Electron app!

Re: Ask HN: Best stack for building a desktop app?

#36
Not a full blown UI kit but lots of cross platform goodies (C++)

https://www.cockos.com/wdl/

https://github.com/justinfrankel/WDL

WDL Virtual Window system:

    Allows the building of dynamic, complex UIs within OS hosted windows
    Included controls for text display, combo boxes, buttons, sliders, list boxes
    Supports full transparency, overlays, controls with shadows/highlights outside of their range
    Fully themeable (uses LICE for compositing)

Re: Ask HN: Best stack for building a desktop app?

#39

I have good experience with https://wails.io . It uses a Go backend and a JavaScript frontend with Go functions exposed to the JavaScript side, and events with senders and listeners on both sides. All without the enormous bloat of Electron. On the JavaScript side you can use whatever you like: plain JavaScript, react, vue, svelte, … whatever you’re familiar with. And it can cross compile to Windows, Mac and Linux, so…

How is the Wails project being managed?

Does it have a backing company or enough sponsors to ensure its future?

Re: Ask HN: Best stack for building a desktop app?

#40
post #3

flutter. specially now that google fired half the team it's not worse than tauri/electron for desktop, and you get mobile for free if needed.

Flutter is cool, but does Dart have a decent library ecosystem for the needs beyond a rich client application?
Post reply on HN