Live data from Hacker News

Tauri: Rust-based Electron alternative releases beta

tauri.studio

131–140 of 177 posts

Re: Tauri: Rust-based Electron alternative releases beta

#131
post #88

As a developer of an Electron app to me a competing framework that doesn't bundle its own rendering engine doesn't make sense, why would I want to trade control over how my app is rendered for ~100MB of disk space? I might as well just ship a website at that point, almost everything that makes Electron appealing comes from shipping your own rendering engine.

Apple's brand new iMacs with the M1 CPU only have 8 GB of RAM. If every little desktop widget loads its own browser engine, most of that RAM will be spent on redundant copies of Chromium. If your Electron app is something that you expect users to run almost exclusively, then no problem. If it's just another little client app for some service, please consider a solution that would reduce its memory footprint.

And with WebView, RAM will be spent on redundant copies (instances) of WebView.

Re: Tauri: Rust-based Electron alternative releases beta

#132

As a developer of an Electron app to me a competing framework that doesn't bundle its own rendering engine doesn't make sense, why would I want to trade control over how my app is rendered for ~100MB of disk space? I might as well just ship a website at that point, almost everything that makes Electron appealing comes from shipping your own rendering engine.

It's about memory management more than it is binary size. Rust is notorious for being turbo-charged with every LLVM optimization on gods green earth, so much so that the actual syntax of the language is beholden to the opinion of the compiler. Either way, I see it as a great step in the right direction, and would be perfect for apps like Discord or Spotify.

Most of the memory usage will come from the renderer process, which in a Tauri app is still a browser.

Re: Tauri: Rust-based Electron alternative releases beta

#133

Earlier quoted context omitted.

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"

? Are you asking for them to make an entirely different product?

I see how the second part of my comment seemed like I'm asking for "Rust in the front-end", that was not my intention. My main point stands though, requiring Rust is not necessarily a "Con", it's in the "Pros" list for many people

Re: Tauri: Rust-based Electron alternative releases beta

#134

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.

Please don't break the HN guidelines like this. Fulminating, fault-finding, blaming rants hit on everyone's indignation and attract upvotes, and when we end up being a site where this is the top comment on the top submission, and the whole place fills up with toxic fumes. This isn't the community any of us wants to have.

https://news.ycombinator.com/newsguidelines.html

Re: Tauri: Rust-based Electron alternative releases beta

#136

Earlier quoted context omitted.

? Are you asking for them to make an entirely different product?

It's off-topic, but it would be nice for someone to make a really good GUI toolkit for Rust. Something that integrates with system APIs for copy-paste and stuff like that.

The most promising one is makepad.dev IMO. It works on Mac/Windows/WebGL afaik

Re: Tauri: Rust-based Electron alternative releases beta

#138
post #134

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.

Please don't break the HN guidelines like this. Fulminating, fault-finding, blaming rants hit on everyone's indignation and attract upvotes, and when we end up being a site where this is the top comment on the top submission, and the whole place fills up with toxic fumes. This isn't the community any of us wants to have. https://news.ycombinator.com/newsguidelines.html

Sure thing, I'll edit the post. Edit: Oh, OK, well nevermind then.

Re: Tauri: Rust-based Electron alternative releases beta

#139

I'm really struck by the differences between Electron's website and Tauri's website. https://www.electronjs.org/ https://tauri.studio/ Tauri's website is way, way worse. Tauri uses unnecessary jargon where Electron's site uses simple, more direct language. Electron: > Build cross-platform desktop apps with JavaScript, HTML, and CSS Tauri: > Build smaller, faster, and more secure desktop applications with a web fronte…

I suggest renaming Hacker News Rust news.

Re: Tauri: Rust-based Electron alternative releases beta

#140
post #88

Earlier quoted context omitted.

Apple's brand new iMacs with the M1 CPU only have 8 GB of RAM. If every little desktop widget loads its own browser engine, most of that RAM will be spent on redundant copies of Chromium. If your Electron app is something that you expect users to run almost exclusively, then no problem. If it's just another little client app for some service, please consider a solution that would reduce its memory footprint.

And with WebView, RAM will be spent on redundant copies (instances) of WebView.

If it's the same system dll, then it'll share all of the RO segments.
Post reply on HN