Hacker News new | past | comments | ask | show | jobs | submit login

Well they’ve released a Linux app built in Rust, so maybe there’s hope?



The Linux app is electron as well.

They just like to say that they use Rust for the backend code. Rust for the backend of the client apps, React for the UI, wrapped in Electron.


It's electron-based too, Rust is used in a backend lib with FFI: https://dteare.medium.com/behind-the-scenes-of-1password-for...


Last I messed with it, Electron is structured such that the UI thread is decoupled from where you're supposed to run your "logic" (for performances reasons, I assume—similar patterns are really common in GUI systems, in general) and they already have to communicate at arm's length, so 1) it's not that big a stretch to wrap some native library on the "logic" side, and 2) if you're calling back-and-forth between logic and UI a lot, rather than sitting in your logic code for long periods of time, it'd expect it to do very little for performance.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: