3 ms·
From "Why not web": > I think the fundamental problem of the web is that its APIs are too high‑level. Frameworks like Flutter (at least one backend) [1] [2] a
by throwaway34241 5y ago
From "Why not web":
> I think the fundamental problem of the web is that its APIs are too high‑level.
Frameworks like Flutter (at least one backend) [1] [2] and Gio [3] use low-level APIs like WebGL and WebAssembly. That might not be the right choice for a web-first framework but seems reasonable for apps that would otherwise be desktop-only and need low-level access to be compatible with the native version.
It looks like he's using Skia for rendering so the WebGL/WebAssembly Skia port that Flutter uses might be a particularly good fit.
I assume a Clojure project would use Clojurescript if it had a web target, but I'm not familiar enough to know if the Clojure/Clojurescript differences [4] pose a big obstacle for this sort of UI framework or not.
[1] https://flutter.dev/docs/development/tools/web-renderers https://flutter.dev/docs/development/tools/web-renderers
[2] https://skia.org/docs/user/modules/canvaskit/ https://skia.org/docs/user/modules/canvaskit/
[3] https://gioui.org/ https://gioui.org/
[4] https://clojurescript.org/about/differences https://clojurescript.org/about/differences