(no title)
franga2000 | 21 days ago
</snark>
The big appeal of Tauri is that you don't need to ship a webview with every app. On Linux, Tauri not only ships its own webview, it's also an old and fundamentally broken webview. So you get fast and small apps on every platform, but huge and slow apps on Linux.
I'm not saying it's their fault. It's just not something they're interested in fixing the right way and that's their choice. But the false advertising is entirely their fault.
tomkarho|20 days ago
> On Linux, Tauri not only ships its own webview, it's also an old and fundamentally broken webview
I'd love to hear some details on this. What is Tauri shipping now and what should it ship instead?
franga2000|20 days ago
The thing is, that library is based on an ancient version of webkit, which is slow and lacks some modern web features. There are some open issues about it and the response is "yea, we know, we're doing the best with what we have", which is fairly reasonable.
A secodary complicating factor is that the main "universal binary" for Linux is AppImage, which by design requires you to ship all the dependencies. So you end up with the eorst of both worlds: you're still shipping an entire webview with every app, just like Electron, while unlike Electron, which is based on recent Chromium, the webview is based on outdated Webkit.
There have been some attempts to bundle CEF (basically Chromium) instead of Webkit and there is also a testing branch that uses Servo, but those only solve the second issue.
Ideally, the Linux ecosystem would standardise on a webview implementation and Tauri could link to that, just like they link to Webkit on macOS and Edgeium on Windows. It could be based on Blink (Chromium) or Gecko (Firefox) or even better, it could be just a standard interface and the use could pick their implementation. But since the Tauri folks would be the first and for a while only people using it, they'd probably have to do most of the work themselves.
thisislife2|20 days ago
franga2000|20 days ago
ravenstine|20 days ago
thisislife2|20 days ago
nvllsvm|20 days ago
https://github.com/tauri-apps/cef-rs