TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tauri Mobile Alpha Release

209 pointsby sbt567over 2 years ago

16 comments

dceddiaover 2 years ago
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!).<p>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.<p>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.<p>0: <a href="https:&#x2F;&#x2F;getrecut.com" rel="nofollow">https:&#x2F;&#x2F;getrecut.com</a>
评论 #33934551 未加载
评论 #33937034 未加载
solarkraftover 2 years ago
This is a <i>huge</i> reason to go with Tauri over Electron. I don&#x27;t get why there isn&#x27;t (or is there) a simple way to package a web app for <i>all</i> platforms. Everyone still makes this weird artificial distinction between Desktop and Mobile despite the technical capabilities and user expectations being close to the same.
评论 #33934027 未加载
评论 #33932544 未加载
评论 #33936700 未加载
评论 #33932567 未加载
评论 #33933262 未加载
apatheticonionover 2 years ago
I&#x27;d love to see a GUI engine that is inspired by web technologies but allows you to write your application in any language&#x2F;shell scripts and have it construct native UIs.<p>I&#x27;ve been toying with building a GUI-as-a-DB kind of engine where consumers run a server process that listens for commands that tell it to create&#x2F;update a window &amp; its elements. You would interact with a DOM-like structure that maps to the various native UIs. <i>(there is also a &quot;guidb-lite&quot; for including with your binary)</i><p>The general idea is; you issue nosql-like commands to this service to interact with the non-web DOM you create. e.g.<p><pre><code> &#x2F;&#x2F; POST localhost:3344 { action: &#x27;create-window&#x27;, settings: { title: &quot;Hello World&quot; }, content: [{ tag: &quot;Text&quot;, value: &quot;Hello World&quot; }] } &#x2F;&#x2F; returns 200 { id: &quot;xxx&quot;, &quot;auth&quot;: &quot;xxx&quot; } &#x2F;&#x2F; POST localhost:3344 { action: &#x27;update-window&#x27;, id: &quot;xxx&quot;, auth: &quot;xxx&quot;, exec: { content: { $findOneAndUpdate: { query: { tag: &quot;Text&quot; }, set: { value: &quot;updated&quot;}}} } } </code></pre> <i>(I tried SQL but dealing with children nodes doesn&#x27;t work out well)</i><p>This means your application can be written in whatever language you want. &quot;Frameworks&quot; (like React) would be written on top of this as language-specific implementations - allowing the GUI-DB to focus on only mapping the API to the various native GUI UIs.<p>I can imagine there would be limitations I am naive to and I&#x27;m generally not smart enough to see this through, but it is the change I would like to see in the world.
评论 #33938843 未加载
评论 #33939857 未加载
bobajeffover 2 years ago
I&#x27;ve yet to see a Web UI toolkit&#x2F;framework that works on all of the desktop (Windows, *Linux* and OSX) and Android and iOS.<p>If they manage to pull this off then bravo to them.
评论 #33936455 未加载
评论 #33934909 未加载
评论 #33932948 未加载
评论 #33937066 未加载
pie_flavorover 2 years ago
&gt; TLS support has been moved behind a Cargo feature until we figure out how to cross compile OpenSSL on Windows.<p>*war flashbacks*
评论 #33944453 未加载
sergixover 2 years ago
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&#x27;ve written a few hundred lines of code using Tauri, and I&#x27;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&#x27;s state manager, creating mockup tests, and technical information on the IPC model. In addition, some of those APIs are obtuse and confusing to interpret how to use.<p>Tauri does a few things very well, and its frontend model is much more lightweight and flexible than Electron&#x27;s. However, the project has a long way to go before it&#x27;s used in the mainstream and really needs to continue to make testing, debugging, and other DX details much more accessible and clear to gain an edge in the market.
评论 #33933079 未加载
评论 #33934796 未加载
评论 #33935770 未加载
MengerSpongeover 2 years ago
I watch F1 and just learned about this lovely project, so it&#x27;s surprisingly hard to parse &quot;Tauri Mobile Alpha&quot;... those words are in the wrong order!
评论 #33935316 未加载
评论 #33938576 未加载
anonymouse008over 2 years ago
Tauri is pretty cool stuff and great for simple single threaded apps. With all the make X model run on Y, I’d caution folks with multithreaded needs to wait until another release.<p>Mac’s multithreaded environment went just fine; and on task completion could be killed off. However the Windows version spun up fine, then hung, then wouldn’t shut down all the threads leaving odd state everywhere.
synergy20over 2 years ago
there are webview libraries from windows&#x2F;linux&#x2F;macos so electron.js-without-chromium works.<p>are there similar webview libraries from android and ios that you can link to as the desktop OS does? anyone knows what those libraries are?<p>I wish there is a c++ electron.js alternative, we now have tauri(rust) and wails(go), I&#x27;m using webview on github to use c++, just not as polished but it works well though.
评论 #33932581 未加载
aliqotover 2 years ago
Tauri&#x27;s been a pleasure to work with.
gdcbeover 2 years ago
Do they use the native api of the OS to get the native feel or is it yet another website as app approach?
评论 #33932026 未加载
评论 #33932906 未加载
AlexErrantover 2 years ago
What does &quot;Alpha&quot; mean here? As compared to Beta.
评论 #33932429 未加载
swyxover 2 years ago
shipping at a great pace
epsover 2 years ago
From their front page:<p>&gt; Build an optimized, secure, and frontend-independent application for multi-platform deployment.<p>Sounds great. Still no idea what this Tauri is.
评论 #33940738 未加载
Pepe1voover 2 years ago
Congrats on the release! From the looks of it Capacitor[0] has quite a big lead on in terms of support for native APIs (secure storage, SSL pinning, biometrics, etc) but hopefully they&#x27;ll catch up quickly and avoid some of the mistakes Capacitor has made.<p>Definitely keeping an eye on this.<p>[0] <a href="https:&#x2F;&#x2F;capacitorjs.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;capacitorjs.com&#x2F;</a>
评论 #33933441 未加载
评论 #33932955 未加载
评论 #33933097 未加载
throwayyy479087over 2 years ago
Love hand wavy product pages for apps Ive never heard of. Tells you who knows what their doing and who you can ignore.
评论 #33932087 未加载
评论 #33932191 未加载
评论 #33932275 未加载
评论 #33932040 未加载