Hacker News new | ask | show | jobs
by hiccuphippo 1488 days ago
> Apps like VSCode and Discord have shown that it’s possible to achieve decent performance so we’re confident that over time the advantages of developing on Electron will outweigh the slight performance hit compared to native apps.

I wonder if this is really true. As I understand, Discord had to start using rust to overcome the slowness of electron, VSCode had to add some really complex code to render the text fast enough. At what point is it easier to just use native code over trying to optimize the electron beast? FWIW lite-xl[0] has a better approach. A core app built with C and SDL and then high level parts made in Lua.

[0] https://github.com/lite-xl/lite-xl

1 comments

I'm pretty sure discord is using rust on the backend, not on the electron app. They use it to make some code faster (through NIFs) inside of their larger Elixir codebase.