You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It always seemed like a perfect fit for an alternative to the Chromium-Engine being used just about everywhere (due to Electron, React Native and friends). Since Tauri uses the native WebView, it doesn't have a lot of control over the underlying versions and possibly not all available APIs are accessible either.
Using Servo would allow for a much fine-grained control over the web-view and streamline a lot of the JavaScript APIs being present (there are differences between IE10/11 and WebKit). It would also allow for a much more streamlined work, as Servo itself is also written in Rust, meaning that dead/unused symbols could still be removed during optimization stages - thus being "three shakeable" in it's own way.
SpiderMonkey - as used in servo - might not be the fastest JS engine in comparsion to JSC and friends, but since it would be tightly integrated into Tauri, I would assume it would also be much more easy to control it. It's version, it's default APIs and alike.
Also, there would not need to be any HTTP stuff involved routing to a localhost server - instead, Servo could be extended with a customized protocol, allowing for a better FS access on resources and alike..
What is your stance on this?
Reacted by jnachtigall, Yehia Amer, Hamish 'James' Coates, iji, Ayden Cook, Alex L, cassepipe, Vladyslav Karasov, Mithun, Mahesh Bandara Wijerathna and 20 more
We spent a lot of time discussing shipping servo entirely, or even a stripped down servo (just using some specific parts) - but, we weren't comfortable with the distribution size of binaries that ship an entire and very large Servo.
We also thought about shipping a "base tauri windowing daemon" that would provide a windowing environment, so you'd download the "tauri app-browser" - but we're a very small team with limited resources.
Ultimately, we decided to focus on using webview for the forthcoming stable release, and then we'll definitely look into other options with v2.
And FYI: We already have a solution that needs no localhost server (the so-called no-server mode).
Reacted by Sumit Datta, cassepipe, Joshua Ji, kitty, Tristan, Wasawat Somno, Gurpal Singh, enkvadrat and Hakan İSMAİL
Activity
nothingismagick commentedon May 4, 2020
We spent a lot of time discussing shipping servo entirely, or even a stripped down servo (just using some specific parts) - but, we weren't comfortable with the distribution size of binaries that ship an entire and very large Servo.
We also thought about shipping a "base tauri windowing daemon" that would provide a windowing environment, so you'd download the "tauri app-browser" - but we're a very small team with limited resources.
Ultimately, we decided to focus on using webview for the forthcoming stable release, and then we'll definitely look into other options with v2.
And FYI: We already have a solution that needs no localhost server (the so-called
no-servermode).