Earlier quoted context omitted.
"Tauri is a toolkit that helps developers make applications for the major desktop platforms - using virtually any frontend framework in existence. The core is built with Rust and the CLI leverages Node.js making Tauri a genuinely polyglot approach to creating and maintaining great apps." That's the first paragraph on the About page. Landing pages have multiple purposes and need to address different types of viewers,…
> The marketing speak is likely more for convincing IT manages this is a legit project and does not have common "deal breakers". If this is the case, it's an excellent reason to not use Tauri. Making their decisions based on what IT managers want to read rather than what developers need to do their job? Good luck with that, might work in some bubbles but the rest of the world is trying to be productive.
Tauri: Rust-based Electron alternative releases beta
121–130 of 177 posts
Re: Tauri: Rust-based Electron alternative releases beta
#122I 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.
"Tauri is a toolkit that helps developers make applications for the major desktop platforms - using virtually any frontend framework in existence. The core is built with Rust and the CLI leverages Node.js making Tauri a genuinely polyglot approach to creating and maintaining great apps." That's the first paragraph on the About page. Landing pages have multiple purposes and need to address different types of viewers,…
Re: Tauri: Rust-based Electron alternative releases beta
#123Shout out to all of the hardworking people behind Tauri. ♥
Re: Tauri: Rust-based Electron alternative releases beta
#124Re: Tauri: Rust-based Electron alternative releases beta
#125So what are the benefits to using Tauri over Electron? Are app sizes smaller? Is the memory footprint smaller?
Re: Tauri: Rust-based Electron alternative releases beta
#126I 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.
It's a webview wrapper. > ...the Tauri-team incubated and maintained WRY, which creates a unified interface to the system webview (and other goodies like Menu and Taskbar), leveraging WebKit on macOS, WebView2 on Windows and WebKitGTK on Linux. https://github.com/tauri-apps/tauri
Re: Tauri: Rust-based Electron alternative releases beta
#127Earlier 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.
Now it's a browser that was probably already in memory for one reason or another, not necessarily a process per Tauri app.
But I think that would save much less memory than people think. A bare-bones hello-world Electron app consumes about ~100MB of RAM (rough figure since it depends on many factors), maybe you can bring that down to ~20MB by sharing a common browser instance (I doubt it, a Chrome tab takes like ~50MB for me right now), but if your app uses 1GB+ of memory that has way more to do with how the app is coded than by having to spawn another instance of the browser. Basically you won't get a memory hungry app consuming 10x less memory by running it as a website.
Re: Tauri: Rust-based Electron alternative releases beta
#128As 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.
Re: Tauri: Rust-based Electron alternative releases beta
#129Earlier 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
So you need to make sure your code works on 3 different platform eventhough you're using a tool that's supposed to fix that problem in the first place? I don't know the extend of WebView in Electron is it something common?
Re: Tauri: Rust-based Electron alternative releases beta
#130Earlier quoted context omitted.
It's a webview wrapper. > ...the Tauri-team incubated and maintained WRY, which creates a unified interface to the system webview (and other goodies like Menu and Taskbar), leveraging WebKit on macOS, WebView2 on Windows and WebKitGTK on Linux. https://github.com/tauri-apps/tauri
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?
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, so there's a decent chance that the "support more than one of them" problem is already solved anyway, meaning you don't have to spend any more development time but you get huge increases in performance and responsiveness.