Yeah, there are a lot of details to get right. James spent hours and hours and hours poring over details on the Duo, for example. And still users keep finding things. Over 3500 commits since the repo was made public 9 days ago and still a lot of things to fix. I think if we get a community going around it, we can make it quite good though. Exciting that people seem to be into it.
Hi - I work on this project. Yes it is a pre-alpha preview but I'm working hard on it and there are already some apps in the App Store using it.
The UI code you write gets compiled to a "plan" which is sort of like bytecode but constrained and simpler, so a simple Rust state machine (or JS on the web) can execute it (doesn't need a complex virtual machine with a garbage collector, etc.)
The layout is expressed using CSS terms and so the layout engine is just Taffy, a Rust based CSS engine, with a bunch of patches on top of it.
Each host like iOS, web, etc. then draws the UI with native elements (UISwitch, DOM elements, etc.) or by drawing the pixels itself (Linux, etc.)
The main differences I see are that Slint does most of its own rendering whereas Exact tries to use the platform's own renderer (native iOS widgets, etc.). And Exact tries to use CSS for describing styles since agents already know it and it makes it easier to target web without a fat runtime that way.
reply