I completely agree with you. It would be extremely odd for a company like Discord, who has done things like using nightly Rust in production, to naively choose Electron because they "don't know what they're doing" with native apps.
Many people on HN either don't understand or don't care for trading off runtime performance and other technical qualities for other things like e.g. development speed, DX, easier hiring, etc.
Or to put it another way, HN users tend to strongly value things that aren't important to most people, and not much value other things that most people do care about.
Maybe, although I suspect most people here understand that we're a fairly small subculture. I do, at least. The thing is, it doesn't matter if my opinions/needs/pain points are fringe. They're still real, and I still care about them and advocate about them. Just like most people.
> Many people on HN either don't understand or don't care for trading off runtime performance and other technical qualities for other things like e.g. development speed, DX, easier hiring, etc.
Most people on HN understand those tradeoff very well but also understand that those tradeoffs are being optimized for the company's profit and not for the good of society overall. Without meaningful competition (and for Discord that would mean interopable clients, not just alternate chat applicaitons with their own servers) the incentive for making more efficient software is ~0.
There are a few options depending on your application type. Fltk is old and ugly, but may work for you. There are others that come from the world of game UIs. Things like sdl2, Nuklear, and dear imgui. I’ve also seen some vulkan based frameworks (mostly from the rust community)
Whether this is "right" or "wrong" is a difficult question to answer.