DEV Community

Discussion on: Leaving electron.js to the past.

Collapse
 
stevepryde profile image
Steve Pryde

You save on binary size but remember chromium runs each page in its own process anyway.

I'm actually not sure if parts of the webview renderer are shared. There are obvious security reasons why you might not want this. But if someone knows the finer details of how this works I'd be keen to know.

I'm a huge fan of tauri, having used it recently and found it to mostly just work. It allowed me to write a desktop app in rust without using electron :D

Thread Thread
 
qm3ster profile image
Mihail Malo

Even if absolutely no runtime state is shared between consumers, the filesystem-backed executable code of the webview is, which also means it's going to end up in cache more often vs running four applications using four separate but barely distinguishable versions of chromium.