Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does rust-sciter compare to tauri? #115

Open
dclong opened this issue Jun 18, 2021 · 1 comment
Open

How does rust-sciter compare to tauri? #115

dclong opened this issue Jun 18, 2021 · 1 comment
Labels

Comments

@dclong
Copy link

dclong commented Jun 18, 2021

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
Copy link
Member

pravic commented Jun 19, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants