What does HackerNews think of tauri?
Build smaller, faster, and more secure desktop applications with a web frontend.
https://github.com/tauri-apps/tauri
The documentation needed a little bit of work last time I looked but they’ve made so much progress in such a small amount of time.
Also having Rust underneath it all is a huge plus
https://github.com/tauri-apps/tauri uses OS provided WebView
https://github.com/sciter-sdk/rust-sciter uses Sciter
1. https://github.com/tauri-apps/tauri 2. https://github.com/zserge/lorca 3. https://github.com/webview/webview
Wails because I imagine extensive Golang based services (preference/experience) in any cloud env. .NET would be my other approach for O365 based integrations.
Rust has something similar to wails, https://github.com/tauri-apps/tauri . Then there all the traditional native vs cross-platform methods.
No approach, or cross platform framework, really seem quite right. But I figure time and money would be the important factors in any serious avenue I want to take things.
Tauri (https://github.com/tauri-apps/tauri) uses less memory, but relies on a different browser so your app may be inconsistent cross-platform.
Tauri Electron
Memory Consumption Linux 180 MB 462 MB
Note Tauri is full fledged Client/Server with WebView (client) running in separate process with RPC between UI process and Rust code (Server).For the comparison:
Standalone Sciter (scapp.exe, https://github.com/c-smile/sciter-js-sdk/tree/main/bin) takes ~8 MB of RAM (with minimal Cairo and GDI backends).
That's 20 times less than even Tauri.
WebView based solutions are not suitable for applets - small portable desktop applications.
> [leverages] WebKit on macOS, WebView2 on Windows and WebKitGTK on Linux.
So cross-platform compatibility isn't guaranteed, unlike Electron.
> ...the Tauri-team incubated and maintained WRY, which creates a unified interface to the system webview (and other goodies like Menu and Taskbar), leveraging WebKit on macOS, WebView2 on Windows and WebKitGTK on Linux.
However, Wails v1 uses mshtml (basically ie11) on Windows, so some features are unavailable.
Wails uses Webpack so you need npm installed when developing your app.
You might also be interested in Tauri [1] which is a similar framework but in Rust.
Tauri is even smaller than NW.js (I think ~600kb hello-world binary size) but uses Rust in it's toolchain way under the hood to build, so take that as either a positive or a negative.
https://github.com/tauri-apps/tauri
NW.js is essentially lighter-weight Electron.
Would be neat if it was a straighforward implementation and produced tiny self-containing cross-platform binaries.
Disclaimer: I also have no idea how gamedev works though, so this might not be applicable
It looks like a good alternative to Electron but haven't tried. Anyone?
Edit: It uses the OS-native engine https://github.com/tauri-apps/tauri
Just depends what you want. A common pattern is essentially to build your app as a Rust library or CLI binary that your GUI wraps in whatever is most convenient for the GUI
Keybase's desktop and mobile apps sometimes hang while decrypting old messages, and until you force quit, the messages won't load.
The Mac app gets into this mode where it can't be hidden, and just insists on staying on the screen.
It doesn't work at all, for any reasonable value of work, on the iPad (it shows a tiny little phone-sized window that fills about 25% of the screen, and doesn't support rotate so it's rotated 90 degrees if you try to type into it with the keyboard).
Etc.
OTOH, the underlying platform seems well-designed and that's obviously where most of the effort is going — it's been a steady march of new and valuable features. They only added the chat feature itself 3 years ago. Keybase git, Stellar wallet, Keybase SSH, the awesome new bot architecture...
While I too wish the apps were smooth and polished, Keybase might be right to focus on the platform first. Making a good app using cross-platform UI toolkits is hard.
Those toolkits are evolving fast, too. It's not inconceivable that in another 3 years, the apps they have today will have been completely replaced by new ones based on a next-generation UI library that runs on top of Tauri[1] or whatever the new hotness is in 2023, and maybe those will be smoother and more polished due to general advances in cross-platform app cores and UI libraries, and if that happens we might end up being glad that the Keybase people spent their energy on building out this reliable crypto platform instead of trying to fix Electron's window layering bugs or whatever.
But yeah, in 2020, I agree the Keybase app's aren't even close to being polished enough to replace Slack for most people. (And Slack itself is pretty awful!)
[1] https://github.com/tauri-apps/tauri (no idea if that will take off, it's just an example)
It is an electron-like framework written in Rust, and is designed to be as lightweight as possible.
https://github.com/Boscop/web-view
Made on top of that is Tauri, a cross-platform webview-based app just like WebWindow. The key differentiator being that they are actually committed to continuous development as they’re trying to get established as an open source company.