Hacker News new | ask | show | jobs
by wernsey 2138 days ago
Let's build a browser engine! [1] by Matt Brubeck is a good place to start. I see Kosmonaut cites it in its README

I once took a stab at rewriting it in C99 using reference counting for memory management [2], so I recognised the screenshot in Kosmonaut immediately.

Unfortunately the article series stops before explaining inline layouts and I never got around to doing anything further with my implementation.

[1] https://limpet.net/mbrubeck/2014/08/08/toy-layout-engine-1.h...

[2] https://github.com/wernsey/robinson-c