3 ms·
So weird - I just found this out naturally when visiting the Sciter homepage last week and I didn't recall it ever being said that this would ever be done. I do
by lucasyvas 5y ago
So weird - I just found this out naturally when visiting the Sciter homepage last week and I didn't recall it ever being said that this would ever be done. I do remember the author's brief moment where he was considering open-sourcing it with QuickJS as the engine.
On the Rust side, I've been looking at Tauri, but would much prefer it be usable with something other than the host webview, like Sciter. Tauri offers a bit more of a complete API for desktop apps and it would be nice to have my cake and eat it too.
- c-smile 5y agoJust in case, this Rust application: https://github.com/rustdesk https://github.com/rustdesk uses Sciter for its UI.
- krapp 5y agoI keep wondering how feasible it would be to have something like Tauri ship with a simplified webview, so it could still be consistent across platforms but still without the bloat of Electron. Although really, the problem isn't using the host's view so much as IE's webview being the default on Windows. Even better, a lot of the necessary complexity involved in getting the web stack to look and act like native could be done away with by redesigning a version of that stack optimized for displaying applications rather than documents. It would no longer be the web stack but it could take the advantages of it without the shortcomings.
- zem 5y agowhere would the simplified webview come from though? that is precisely the value sciter delivers - a roughly web-compatible view that is much lighter weight than a full-fledged browser engine.
- krapp 5y agoIt looks like sciter is more or less what I was thinking of, only it doesn't support Canvas and WebAssembly as far as I can tell.
- c-smile 5y agoIt does support <canvas>, with limited support but still. See: https://github.com/c-smile/sciter-js-sdk/tree/main/samples/canvas https://github.com/c-smile/sciter-js-sdk/tree/main/samples/c... Sciter also supports immediate mode painting on any element (like in DearIMGUI): element.paintBackground = function(gfx) { ... drawing operations here ... } See: https://github.com/c-smile/sciter-js-sdk/tree/main/samples.sciter/immediate-mode-painting https://github.com/c-smile/sciter-js-sdk/tree/main/samples.s...
- nguyenkien 5y agoWindows tauri use webview2 (edge chromium)