←back to thread

142 points stareatgoats | 3 comments | | HN request time: 0.635s | source
Show context
shubhamjain ◴[] No.43545314[source]
I’m a bit confused. I thought the main selling point of Tauri was that it uses the OS’s native WebView to create lighter apps compared to something like Electron. So why would I want to bundle a Servo or Verso? Doesn't that defeat the purpose of Tauri?
replies(8): >>43545331 #>>43545426 #>>43545891 #>>43546249 #>>43546256 #>>43546875 #>>43548611 #>>43551775 #
dist-epoch ◴[] No.43545891[source]
> I thought the main selling point of Tauri was that it uses the OS’s native WebView to create lighter apps compared to something like Electron

It was a talking point for angry at clouds people.

It was never a selling point, because nobody cares how big apps are today. For a regular user with a 256/512 GB drive, even if they had 50 electron apps 1 GB each, it would not matter in the grand scheme of things.

replies(1): >>43545943 #
synergy20 ◴[] No.43545943[source]
well,what about memory usage. storage is cheap indeed, but memory is limited still
replies(1): >>43546010 #
1. dist-epoch ◴[] No.43546010[source]
From the 1 GB a typical Electron app uses, only about 300 MB are binaries which might be shared if they were a WebView.

So yes, using a WebView might decrease your memory usage by 30%, maybe 50% for small apps. Not a huge game changer, maybe it would make a 8 GB RAM laptop more usable.

replies(3): >>43546097 #>>43546212 #>>43551777 #
2. Fraterkes ◴[] No.43546097[source]
You talk like that's not a big deal! What percentage of users do you think still spends a lot of time working on 8gb ram laptops? If it was more than 50% I wouldn't be surprised.

The lowest hanging fruit when it comes to societal good that you can do as a programmer is writing software that is also usable for people with less money for hardware. And a lot of us don't even bother

3. kbelder ◴[] No.43551777[source]
The big gain is from replacing a 1 GB Electron app with a 50 MB native app. Tauri is an improvement, but not a transformative one.