Earlier quoted context omitted.
I have a hard time believing that companies like Discord are using Electron simply because they do not know what they are doing.
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, e…
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.