Hacker News new | ask | show | jobs
by wiz21c 920 days ago
not excatly on topic but is something is Tauri better than Electron (in terms of memory usage and disk footprint) ?
2 comments

Short answer: yes. Tauri is using your OS own web view instead of shipping y’know… entire Chrome. And for native stuff, it’s generally faster and smaller with Rust than… checks notes… the entire Node runtime.

In short, it’s not super hard to beat electron especially in terms of disk/memory.

Now, that said. Many of you think you suffer because web=slow, JavaScript=bad yadda yadda. But this is often not true at all, which almost always turns up in apples-to-apples benchmarks. In fact, the suffering is almost always because of lazy/hypey/bloated stacks full of ads/multiple cloud backends for metrics, ads, logging, etc etc/poor coding standars etc etc. So the long answer is that Tauri won’t help with those deeper issues.

Disk footprint yes, since it uses the system's browser. Memory wise, probably not by much. It's still a browser.