I wrote a UI library in C that can lay out 95000 items at 60fps.
The library is 566 lines of C, and the application-specific ui code is 998 lines. Works on mac, windows, and linux.
Now that I've ported to linux, I'll find out firsthand if developing for linux is financially sustainable. I've gotten a lot of interest from linux users but culturally seems like they won't pay for software.
Took 2 days to port to linux. Just had to port a few os-specific functions (timing, threading, files), and make a linux sysroot so zig cc could cross-compile. A few things I learned about linux dev... 1/n
First invites for the *Windows* version of What the Fork just went out, 1 year after it was on the front page of hacker news. It's been a difficult year to work: we had a baby, moved 2500 miles, and had some health challenges, so this milestone feels especially good
My UI library is now twice as fast thanks new a single draw call UI renderer: every layer is an instanced textured quad. Stroke, rounded corners, clipping, and fill are handled in the shader... 1/n