Live data from Hacker News

Tauri: An Electron alternative written in Rust

tauri.studio

261–270 of 438 posts

Re: Tauri: An Electron alternative written in Rust

#261

Looks like it uses system webviews instead of bundling a copy of Chromium? This to me seems like the real headlining feature, but strangely I had to dig pretty deep to find it: https://tauri.studio/en/docs/getting-started/technical-detai... I kind of wonder why it took this long for someone to try this approach. It just makes a whole lot more sense on the surface. Interesting thing I just thought about: since users d…

> why it took this long for someone to try this approach

it didn't - there is already a few projects like that, with Neutralino being the most notable.

Re: Tauri: An Electron alternative written in Rust

#264

Earlier quoted context omitted.

I have to post it here because it's on top: On Windows the new WebView is Chromium. https://developer.microsoft.com/en-us/microsoft-edge/webview... Old one is, of course, kept for compatibility reasons.

Yes, but it is not installed by default. You have to install it separately, at least for now,which makes things a lot more complicated if you want your app to rely on it.

I'm moderately certain that Chromium is installed by default on new installs of Windows now.

Re: Tauri: An Electron alternative written in Rust

#265

Earlier quoted context omitted.

Seems like they are making a lot of progress on that front: https://web.dev/file-system-access/

Fine, but these are proposals. We want something we can work with today, something that we have the power to hack on that will expose new systems we come up with to HTML/JS, and that is the niche that Electron-like systems fill really well.

Supported in Chrome and Edge today.

Re: Tauri: An Electron alternative written in Rust

#267

Earlier quoted context omitted.

Slack originally was platform specific webviews, and migrated to avoid issues like what is mentioned in this thread. One of the engineers who did it has even commented on HN to explain this.

This is probably the comment you're talking about: https://news.ycombinator.com/item?id=18763449 . I was unconvinced then, and I am even more unconvinced now as I run a fully native Cocoa Slack client on my Mac that was written by one person reverse engineering APIs.

what's that client?

Re: Tauri: An Electron alternative written in Rust

#269

Does using the underlying platform's webview make things faster? What are the benefits to end users?

It'll make applications smaller by not having to bundle a full copy of Chromium for each application. It may make applications slightly faster if the webview is already loaded in memory, and it'll probably save some RAM because applications would share some memory.

Re: Tauri: An Electron alternative written in Rust

#270

Earlier quoted context omitted.

This is probably the comment you're talking about: https://news.ycombinator.com/item?id=18763449 . I was unconvinced then, and I am even more unconvinced now as I run a fully native Cocoa Slack client on my Mac that was written by one person reverse engineering APIs.

what's that client?

https://shrugs.app/.
Post reply on HN