News for hackers. Stuff that matters.
Re:Thoughts on Clojure UI framework by throwaway34241 on Thursday September 09, 2021 @04:03PM (#28474017)
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

[2] https://skia.org/docs/user/modules/canvaskit/

[3] https://gioui.org/

[4] https://clojurescript.org/about/differences

There are no comments on this comment yet.