Live data from Hacker News

Tauri: Rust-based Electron alternative releases beta

tauri.studio

141–150 of 177 posts

Re: Tauri: Rust-based Electron alternative releases beta

#141

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

So basically on Windows it will use Edge. The idea is good, but this is not the first time someone try this. At the end it is all about testing, tools that needs to make 100% ( not 99% or 99.99% ) sure functions and rendering on all platform are intended as it is.

Re: Tauri: Rust-based Electron alternative releases beta

#142
post #2

Hey - 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

is it possible to include wasm in Tauri apps?

Yeah, you can use wasm on all platforms.

Re: Tauri: Rust-based Electron alternative releases beta

#143

Earlier 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…

That is very true, and it's a nice differentiator relative to Electron— you still get your own app launcher and access to system APIs, but without shipping and launching the entirety of Chromium.

Re: Tauri: Rust-based Electron alternative releases beta

#144
post #2

Hey - 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

Does it try to achieve feature parity with Electron?

Re: Tauri: Rust-based Electron alternative releases beta

#145

I 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.

[deleted]

Re: Tauri: Rust-based Electron alternative releases beta

#146
post #2

Hey - 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"

I would also expect/like that: HTML/CSS + Rust (no JS/GC). And running out-of-process. Add XUL as a bonus.

Re: Tauri: Rust-based Electron alternative releases beta

#147

Earlier 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.

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.

Re: Tauri: Rust-based Electron alternative releases beta

#148

Please 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. ♥

> so please don't expect things like the landing page to be as polished as an 8 year old project.

I think problem is that it is over polished and slick not unpolished.

Re: Tauri: Rust-based Electron alternative releases beta

#149

Earlier 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.

> 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 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

#150

Earlier 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…

> just badly written.

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.

Post reply on HN