3 ms·
It's electron-based too, Rust is used in a backend lib with FFI: https://dteare.medium.com/behind-the-scenes-of-1password-for-linux-d59b19143a23 https://dteare
by bibinou 5y ago
It's electron-based too, Rust is used in a backend lib with FFI:
https://dteare.medium.com/behind-the-scenes-of-1password-for-linux-d59b19143a23 https://dteare.medium.com/behind-the-scenes-of-1password-for...
- handrous 5y agoLast 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.