News for hackers. Stuff that matters.

Gabrielmfern

Show HN: Forbear is a immediate mode GUI library that looks like the web

https://github.com/gabrielmfern/forbear

Hello! Looking to share forbear, a immediate mode GUI library that looks like the web, has a React-like DX and is as fast as possible.I've already built a real program (https://github.com/gabrielmfern/calculator) to stress it, and the binary is only 3.6MB, the first frame shows up in ~300ms, it uses 10.5MB of working set memory, and it's all 1,155 lines of code.It can be used with Jai...

( Read More... | no comments | on HN )
Hey, author here! Forbear is a UI library written in jai. This entry is about how I was able to embed Node.js into it so that JSX could drive the UI. It's all immediate mode, and it runs relatively simple work on my 240hz without any hiccups. This definitely does not handle stuff like async, and is still extremely experimental, and since jai is in private beta, you can't compile it quite yet.
lets' gooooooo