

16·
8 days agoIn Tauri, the rust backend is the glue between web/js and OS functions. Yet you don’t need to do any rust code, it’s delivered ready.


In Tauri, the rust backend is the glue between web/js and OS functions. Yet you don’t need to do any rust code, it’s delivered ready.


Tauri is the way to go ; so that every app doesn’t each embed another web browser that makes for 90% of the file size.
Let’s say you are a webdeveloper trying to package your js app into a executable.
Tauri makes it so that it embeds your js into a rust base, and if you need to interact with the os, you have a Tauri JS API which calls predefined rust functions embedded in the executable.
You can literally never write rust code while using tauri.
But they givr you the choice, since rust is faster than compiled js, you also can create rust functions which you then call from your js code.