4 ms·
I have heard that Linux was the start, Windows is the next one to get the Electron treatment, and Mac is next.
by throwaway46294 5y ago
I have heard that Linux was the start, Windows is the next one to get the Electron treatment, and Mac is next.
- dijit 5y agoBut the linux 1Password program is "electron" in name only; it's actually some kind of Rust program; I'm not 100% sure how it works but it's definitely compiled with cargo.
- soziawa 5y agoWhat does Electron in name only mean? Either electron is included or it isn't. Whether you are using Rust through native bindings or through WebAssembly does not really matter does it?
- dijit 5y ago90% of the functionality is written in rust components and the UI is a very slim wrapper around those APIs; it seems. And even then it looks like the JS is WASM compiled from rust. It’s not implemented in JavaScript/typescript is what I mean. As such it seems to be lean on my system.
- mpalmer 5y agoIf it is Electron, I don't think you can credibly call an entire Chromium instance a "very slim wrapper".
- selfup 5y agoThere's a chance it's using Tauri (rust) https://tauri.studio/en/ https://tauri.studio/en/ if it's truly not using Electron but a similar concept. However WASM builds in Electron would make more sense if they use the term Electron.
- aniforprez 5y agoLink below to the behind-the-scenes article. I have no experience using the Linux app so I'm not sure of the performance but a lot of the core seems to be written in Rust compiled to WASM which is the way it's now being done for their browser extension. Personally everyone keeps cribbing about electron but I hope 1Password has found a way to make good on performance https://dteare.medium.com/behind-the-scenes-of-1password-for-linux-d59b19143a23 https://dteare.medium.com/behind-the-scenes-of-1password-for...
- danieldk 5y agoNo, it's definitely regular Electron: % tar ztf 1password-latest.tar.gz | grep "chrome" 1password-8.1.1.x64/chrome-sandbox 1password-8.1.1.x64/chrome_100_percent.pak 1password-8.1.1.x64/chrome_200_percent.pak
- deleted 5y ago[deleted]
- dijit 5y agoyeah I'm aware it contains chrome, I mentioned that much of the functionality has been moved out and is actually implemented in rust, this is verifiable simply by running `1password --log trace` EDIT: 168MiB resident memory on my system (just checked). Though it malloc'd (but never used) 32G, that's worrying.