4 ms·
I 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 stil
by krapp 5y ago
I 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)