Im really curious about the mobile part. Maybe i should start learning rust already :P
@ecoflex00305 ай бұрын
2:22 wondering why ts is slower than js🤔
@mmghv Жыл бұрын
My only complain about Tauri is that it produces a huge node_modules-like folder for Rust binaries which is more than a gigabyte for a simple app.
@aryabp Жыл бұрын
yea but for an extended project, its gonna be a reliable app
@mmghv Жыл бұрын
@@aryabp I guess, but for small util apps it would be annoying, I tried Wails which does the same but with Go instead of Rust and it produced a much smaller folder over all, only 30 mb, also Go is easier to learn so I think I'll go with Wails.
@aryabp Жыл бұрын
Yeah, tauri makes its own dependency. So, its use Native platform's webview and Not using virtual browser or others like chromium. The benefit of it is the memory management and the performance are reliable; i don't really know about wails but when i see the docs it said using JS runtime which mean using virtual browser :)
@mmghv Жыл бұрын
@@aryabp No it actually uses native webview just like Tauri, and it outputs a single executable, only difference it uses Go instead of Rust
@arianitonline8748 Жыл бұрын
not if it's created with vite
@nabeelkausari Жыл бұрын
I was wondering how he is presenting the code lines from 9:40, is he using a tool to paste lines from clipboard in sequence?
@ozanmuyes Жыл бұрын
It's all undoing (Ctrl+Z); write the code and delete parts in the reverse order, so when you undo they'll shown part by part. The essence is that select the whole part first and then delete in 1 action - as opposed to holding the backspace key
@nabeelkausari Жыл бұрын
@@ozanmuyes Thanks, that makes sense 🙂
@David-iq1kd Жыл бұрын
Dumb question I'm sure, but when you publish an app like this to mobile or desktop, where does the back end rust code go? I'm used to web apps where the back end is always on a different server somewhere. With a Tauri built program, does the back end get installed with the front end and run together on the computer or mobile device, or does the back end still need to be on a separate server? Can it be used for an offline app for example
@RodrigoSKJ Жыл бұрын
Not an expert here but I believe everything gets bundled in the app and runs locally. It is different from the modern js metaframeworks where the same codebase is responsible for server and client code. You could still build a server for the tauri app for some online capabilities. You would then have the option to call this server from either the js or the rust side of your tauri app
@David-iq1kd Жыл бұрын
@@RodrigoSKJ does the rust compile down to JS or Web Assembly in this case then?
@David-iq1kd Жыл бұрын
@Tareq Thanks, extremely helpful.
@dd0n396 Жыл бұрын
@@David-iq1kd web assembly. This is because Tauri can use a yew frontend
@Sammysapphira6 ай бұрын
Back end is just a term for an application that is running outside if the space the user can easily access.
@sebiqqq Жыл бұрын
What's the source of the Table presented at 2:06?
@BattleGn0me28 күн бұрын
don't skip steps. did you CD into the Vite project?? you can t assume the viewer is following. Assume the most literal view of what you are doing.
@mahmoud-bakheet Жыл бұрын
tauri int not working
@AndreNitschke Жыл бұрын
No alternative to electron.
@ryanleemartin7758 Жыл бұрын
Why not? What's missing? I'm curious because it's exactly the choice I'm faced with right now.
@VincentGroenewold11 ай бұрын
@@ryanleemartin7758 It's better than Electron in many ways, but not as advanced yet as Electron is. Besides Electron has a way bigger install base at the moment. But it's my choice for the near future for sure, also because I'm learning Rust. ;)
@mwlulud29953 ай бұрын
Hi, why you switch to tauri? Can you explain anymore for me@@ryanleemartin7758