Earlier quoted context omitted.
They use whatever is the system WebView on the platform you run the code on. On Windows that's the Edge engine, on MacOS it's Safari's engine, etc. Those are all some combination of C and C++. See https://github.com/tauri-apps/wry Edit: s/IE or Edge/Edge
For Windows it will actually install Webview2 if it's not there already so it's not running on deprecated IE. https://github.com/tauri-apps/wry#windows
Tauri: Rust-based Electron alternative releases beta
141–150 of 177 posts
Re: Tauri: Rust-based Electron alternative releases beta
#142Re: Tauri: Rust-based Electron alternative releases beta
#143Earlier quoted context omitted.
Doesn't using the "system" webview throw out the main selling point of Electron, which is that you're shipping the browser, so you no longer need to support more than one of them?
Perhaps, but using the system webview also means that you don't have massive amounts of bloat, both in distribution and on-disk size as well as memory usage, and you have a better chance at getting better performance. Besides, all of the relevant engines are WebKit variants, so you're not targeting Trident or Gecko or anything. Bear in mind that a lot of popular "apps", like Slack, Discord, etc., are web apps anyway…
Re: Tauri: Rust-based Electron alternative releases beta
#144Hey - I am nothingismagick aka Denjell, one of the founders of Tauri, and will do my best to answer your questions about the project, rust, wasm, etc. https://github.com/tauri-apps/tauri
Re: Tauri: Rust-based Electron alternative releases beta
#145I don't care about your YouTube videos, I don't care about your governance, I don't care about your book, tell me what it is in non-marketing speak and show me a screenshot on the front page and shut up about everything else. Tell me what it is, show me what it looks like, provide a "Hello, World!" API example for opening a window on the front page. Stop contributing to landing pages that jerk the consumer around.
Re: Tauri: Rust-based Electron alternative releases beta
#146Hey - I am nothingismagick aka Denjell, one of the founders of Tauri, and will do my best to answer your questions about the project, rust, wasm, etc. https://github.com/tauri-apps/tauri
Interesting that you guys list "No Rust Skills Required" as a Pro instead of a Con. As a Rust programmer I'd prefer "No JS Required"
Re: Tauri: Rust-based Electron alternative releases beta
#147Earlier quoted context omitted.
Order of magnitude memory reduction, not disk space, was the selling point last time I heard. And given how often I hear users complaining about memory consumption in Electron apps, I think that is something pretty attractive, if it pans out.
> Order of magnitude memory reduction That doesn't make sense to me, you are still using a browser at the end of the day. Sure you can save some memory by not bundling Node (at the cost of making even reading a file much more difficult), but that's not orders of magnitudes.
Have one, real Multithreaded +, more efficient backend, will reduce memory and offer better performance.
Wails is also an alternative that does just that. Shared Web UI engine + Go compiled backend.
Re: Tauri: Rust-based Electron alternative releases beta
#148Please keep in mind that this project just reached _beta_. We are working to implement valuable feedback from the community, so please don't expect things like the landing page to be as polished as an 8 year old project. Shout out to all of the hardworking people behind Tauri. ♥
I think problem is that it is over polished and slick not unpolished.
Re: Tauri: Rust-based Electron alternative releases beta
#149Earlier quoted context omitted.
> Order of magnitude memory reduction That doesn't make sense to me, you are still using a browser at the end of the day. Sure you can save some memory by not bundling Node (at the cost of making even reading a file much more difficult), but that's not orders of magnitudes.
Also electron require multiple node backend services which each eat memory like crazy (based on electron app I use). Have one, real Multithreaded +, more efficient backend, will reduce memory and offer better performance. Wails is also an alternative that does just that. Shared Web UI engine + Go compiled backend.
AFAIK Electron requires 1 Node instance (you can disable it for renderer processes and you can have 0 WebWorkers or only WebWorkers with Node.js disabled) which consumes like ~50MB or something like that, which probably accounts for stuff other than Node.js too, if the app you are using require multiple Node processes that use huge amounts of memory they are just badly written.
> Have one, real Multithreaded +, more efficient backend, will reduce memory and offer better performance.
You can't just share Node.js across multiple apps, Tauri just doesn't bundle it at all, which is a whole different story with mostly downsides from my point of view.
Re: Tauri: Rust-based Electron alternative releases beta
#150Earlier quoted context omitted.
Also electron require multiple node backend services which each eat memory like crazy (based on electron app I use). Have one, real Multithreaded +, more efficient backend, will reduce memory and offer better performance. Wails is also an alternative that does just that. Shared Web UI engine + Go compiled backend.
> Also electron require multiple node backend services which each eat memory like crazy (based on electron app I use). AFAIK Electron requires 1 Node instance (you can disable it for renderer processes and you can have 0 WebWorkers or only WebWorkers with Node.js disabled) which consumes like ~50MB or something like that, which probably accounts for stuff other than Node.js too, if the app you are using require multi…
Ins't the easy answer. Each time a dev want to ignore valid comments.
I have the following electron app running: Spotify, Figma, VS Code, Discord, Slack. They all use more than 1 helper. Consuming between 600mb to 3.5gb.
Slack is much better than it was. But I wish they switch to something like Tauri or Wails in the future.