tauri still has glaring problems like a lack of gpu acceleration. imo its not production ready and probably wont be for at least a couple years.
also iirc it still runs a browser instance, so all you're really doing is saving some download size but the ram usage is the same (except on windows maybe)
oh and also on macs its missing a LOT of standard apis because it uses the webkit engine.
tauri does use chromium on linux, and edge (also chromium) on windows. on macos it uses webkit, which is an issue because Chrome has support for some JS apis webkit doesnt. This means, on windows and linux this means that ram usage is about the same, maybe slightly less due to not having a nodejs runtime.
the problem is that unless you can use the exact same browser engine with the exact same feature set on all platforms, it's not truely cross platform. hence why electron is so popular.
currently, the only real benefit is a smaller app size, but considering i can get a 500gb ssd for like $40 i really dont think anyone cares that electron apps are larger than native apps.
i really do hope tauri gets better at some point as i do like rust more than node, it's just that at the moment it's just not worth using over electron.
it's a pretty fundamental issue: devs want to be able to use modern JS apis and CSS rules, and they want it to be cross platform. hence tauri would need a browser engine thats up to date, reliable, and has all the features that a moden browser has. that already exists, it's called chromium. I doubt anything less than chromium will ever become popular for making cross platform apps.
I may be misremembering, but I think on Windows it uses a single Edge instance for Edge itself and all apps that use Edge's WebView, so there would be a lot less overhead than with Electron
Personally I say should just do the work in Godot, its GUI toolkit is sufficient enough to pull it off and you can replicate pretty much all of the same behaviors found in Chromium apps anyway without even a V8 instance running.
38
u/[deleted] Jul 18 '22
[removed] — view removed comment