Hacker News new | ask | show | jobs
by nicoburns 1279 days ago
> Unless a Rust OS is created with an official toolkit, Rust apps will always exist on a platform that already has a native toolkit.

If the toolkit is good enough it's entirely possible that a platform or platforms may adopt it as their native toolkit. In any case, these are really competing with electron which is already non-native. If Rust toolkits can get to electron-like quality but with lower resource usage and better hooks into the underlying platform then I'd consider that a success.

2 comments

With exception of VSCode, the only Electron apps that I use are forced upon me due to work requirements.

All of them I glady ignore on private owned computers, or use the browser version, they are anyway Web apps.

> In any case, these are really competing with electron which is already non-native

Use Electron and you'll get OS-native buttons and other form controls.

Can you provide any source/documentation on how to achieve this?

As far as I know Electron is based on Chromium. And Chromium doesn't use native controls, it has its own custom controls that sometimes look similar to native controls.