← Back to context

Comment by cosmotic

20 days ago

My understanding of the system webview is that applications can share the resource instead of each using their own copy, reducing memory usage and improving multi-tasking. Facebook's solution seems to side step that benefit. I use the fb browser much less frequently than my normal browser, and id rather not use the fb browser at all. I imagine this is true for most users, so the security benefit seems overstated.

This is my actual complain with Electron. And with modern programming languages like Go and Rust. Static compilation is such a grevious waste of memory & caches.

There's Tauri, which does use a dynamic loading approach. But the various browsers it uses are nowhere near as capable and featureful as chrome, which is so sad. I don't know when it got started but there is https://github.com/tauri-apps/cef-rs now, using Chromium Embedded Framework, which is pleasantly modern & can share a binary too; rad.