My dear front-end developers (and anyone who’s interested in the future of interfaces):
I have crawled through depths of hell to bring you, for the foreseeable years, one of the more important foundational pieces of UI engineering (if not in implementation then certainly at least in concept):
Fast, accurate and comprehensive userland text measurement algorithm in pure TypeScript, usable for laying out entire web pages without CSS, bypassing DOM measurements and reflow
80% done.
Started from the parallelism basics, built up to non-blocking data structures.
Then a detour to effect handlers, building a Go-like concurrency with user-level threads, channels, select nested parallelism and async IO.
All in OCaml.
https://t.co/CJ9D1vrX3v