sciter-sdk / rust-sciter

Rust bindings for Sciter
https://sciter.com
MIT License
806 stars 76 forks source link

How does rust-sciter compare to tauri? #115

Open dclong opened 3 years ago

dclong commented 3 years ago

Tauri is a similar project which is also based on Rust and frontend technologies. I wonder what are the advantages and disadvantages of rust-sciter compared to tauri?

pravic commented 3 years ago

Well, you can see its architecture https://github.com/tauri-apps/tauri/blob/dev/ARCHITECTURE.md and webview notes https://github.com/tauri-apps/wry#platform-specific-notes

Here's the Sciter's: https://sciter.com/developers/engine-architecture/

I haven't heard of tauri but it looks featuful. Take https://github.com/tauri-apps/tauri/blob/dev/examples/api/src-tauri/src/main.rs, for example.

Sciter is smaller, self-contained (tauri uses a system webview). It used to have its own scripting language (quite nice) but recently has switched to JS.

Sciter is easier to embed into DirectX/OpenGL or even a barebone OS where there will be no a system browser, obviously.

As for regular desktop apps - well, it's a matter of preferences. I started rust-sciter as a binding to Sciter library but haven't enhanced it with features tauri has (attributes, macros, etc).

Just try and choose what suits you better.