4 ms·
Electron lets you write a graphical application without knowing what you're doing. Whether this is "right" or "wrong" is a difficult question to answer.
by bandrami 4y ago
Electron lets you write a graphical application without knowing what you're doing.
Whether this is "right" or "wrong" is a difficult question to answer.
- Gigachad 4y agoI have a hard time believing that companies like Discord are using Electron simply because they do not know what they are doing.
- ZephyrBlu 4y agoI 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.
- emodendroket 4y agoOr 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.
- jamiek88 4y agoOr to condense it further, HN users are human. No matter how much we deny it! :D
- emodendroket 4y agoThat's true. But I think that many people here share such a similar perspective that they don't realize how fringe their priorities really are.
- JohnFen 4y agoMaybe, 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.
- vfclists 4y agoDiscord was developed as a messaging system for gamers who usually have the latest and greatest hardware. Electron would be okay for them and their users on account of that.
- account42 4y ago> 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.
- Ygg2 4y agoQuestion is, if you want to do cross platform UI what choice do you have?
- MobiusHorizons 4y agoThere 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)
- Ygg2 4y agoPoint isn't to make some hacky game ui, it's to make application UI on par with Web, feature and stability wise.
- MobiusHorizons 4y agoThe vulkan based gui that neovide seems to come close to what you want. But I don’t think it’s a library you can use easily.
- Gigachad 4y agoWhich one of these would allow you to build the discord UI as it is, looking exactly the same on every OS and run in web browsers?