Live data from Hacker News

Tauri Mobile Alpha Release

tauri.app

41–50 of 82 posts

Re: Tauri Mobile Alpha Release

#41

I've yet to see a Web UI toolkit/framework that works on all of the desktop (Windows, *Linux* and OSX) and Android and iOS. If they manage to pull this off then bravo to them.

ionic with its capacitor.js is said to be the best option for now, not too sure about flutter but who knows when google will kill it.

The issue with capacitor and ionic is in legacy, outdated Cordova dependencies !

Re: Tauri Mobile Alpha Release

#42

This is a huge reason to go with Tauri over Electron. I don't get why there isn't (or is there) a simple way to package a web app for all platforms. Everyone still makes this weird artificial distinction between Desktop and Mobile despite the technical capabilities and user expectations being close to the same.

I wonder about that. Electron is mature. Well supported. Well documented. Predictable on desktop on account of using a known rendering engine. When it comes to having a mobile app as well, I look to obsidian for inspiration on possible approach since they built a non trivial app with a relatively tiny team. Their stack includes electron for the desktop and they re-used most (All?) of the core with capacitor for mobile. This included theming and plugins. Would be hard to bet against a stack that has that kind of real world success story behind it.

Re: Tauri Mobile Alpha Release

#43

Earlier quoted context omitted.

ionic with its capacitor.js is said to be the best option for now, not too sure about flutter but who knows when google will kill it.

The issue with capacitor and ionic is in legacy, outdated Cordova dependencies !

which ones do they still have now? I know a lot of folks still use third party cordova deps, but i didn't think capacitor did.

Re: Tauri Mobile Alpha Release

#44
post #38

Earlier quoted context omitted.

which is still very limited when you need low-level/native access on the platforms, mobile phones especially iphones are very much a locked-in device as much as they can get away with it, android is better though.

If you need native access to a platform, write a native application.

This is obtuse. Native applications require multiple codebases. Electron doesn't. The value prop is there...

Re: Tauri Mobile Alpha Release

#45
post #33
post #17

The Tuauri team needs to focus on maturing its primary codebase and documentation before branching out to assign teams to separate projects like this. I've written a few hundred lines of code using Tauri, and I've had to do much more API wrangling and searching the official Discord than I would have liked -- a lot of valuable API details are tucked away in very specific places, especially related to using Tauri's sta…

I agree with this. We are shipping our app Caido with Tauri and it is missing quite a lot in feature parity with electron. We always lose time to try to bypass limitations or work around bugs. I honestly can't recommend it for production at this moment, even if it is getting better. Some of the challenges we faced in the last week: no built-in api for single instances (so basically making sure the app is only run onc…

If you care about your user's machines or being able to do anything other than use your app on their machine then please use the platform's tooling and not things like electron.

Re: Tauri Mobile Alpha Release

#46
I’ve enjoyed working with Tauri a lot, and I’m excited to check out the mobile release. I’ve been using it for about a year now, paired with Svelte, to build a video editor [0] and it’s been really nice speed-wise. I haven’t felt like Tauri is the bottleneck in probably 99% of cases (usually it ends up being my own code!).

One area they could improve, and I think they’re working on for 2.0, is the IPC mechanism between JS and Rust. It’s not as fast as a true function call and bogs down if you try to send large amounts of data over it, so I’ve tried to architect around it. It’s been fine but I’m looking forward to when it’s more efficient.

It still lacks some features that Electron has too, and it feels a little bleeding edge sometimes. But I feel a lot better with shipping a lighter app that’s closer to native-size. If the alternative is maintaining 2 codebases in different languages as a solo developer, I’ll gladly take the tradeoff to go with Tauri, whereas Electron felt like a much bigger gap.

0: https://getrecut.com

Re: Tauri Mobile Alpha Release

#47

This is a huge reason to go with Tauri over Electron. I don't get why there isn't (or is there) a simple way to package a web app for all platforms. Everyone still makes this weird artificial distinction between Desktop and Mobile despite the technical capabilities and user expectations being close to the same.

Capacitor is another option with support for web, mobile, and desktop, if that’s what you’re looking for.

Looking through their site, Capacitor doesn't appear to support desktop apps. Their docs recommend using Electron instead.

https://capacitorjs.com/docs/main/deployment/desktop-app

Re: Tauri Mobile Alpha Release

#48

I've yet to see a Web UI toolkit/framework that works on all of the desktop (Windows, *Linux* and OSX) and Android and iOS. If they manage to pull this off then bravo to them.

ionic with its capacitor.js is said to be the best option for now, not too sure about flutter but who knows when google will kill it.

Looking through their site, Capacitor doesn't appear to support desktop apps. Their docs recommend using Electron instead.

https://capacitorjs.com/docs/main/deployment/desktop-app

Re: Tauri Mobile Alpha Release

#49
post #46

I’ve enjoyed working with Tauri a lot, and I’m excited to check out the mobile release. I’ve been using it for about a year now, paired with Svelte, to build a video editor [0] and it’s been really nice speed-wise. I haven’t felt like Tauri is the bottleneck in probably 99% of cases (usually it ends up being my own code!). One area they could improve, and I think they’re working on for 2.0, is the IPC mechanism betwe…

> But I feel a lot better with shipping a lighter app that’s closer to native-size.

Out of curiosity: How much time (if any) have you spent addressing differences in OS web renderers? Is not supporting Linux a business or technical decision?

Re: Tauri Mobile Alpha Release

#50
From their front page:

> Build an optimized, secure, and frontend-independent application for multi-platform deployment.

Sounds great. Still no idea what this Tauri is.

Post reply on HN