3 ms·
How does one get started with building a rendering engine? I would love to get some guides on this. I agree that there are inherent problems with css with how c
by Datsundere 6y ago
How does one get started with building a rendering engine? I would love to get some guides on this. I agree that there are inherent problems with css with how complex it is now
- wernsey 6y agoLet'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.html https://limpet.net/mbrubeck/2014/08/08/toy-layout-engine-1.h... [2] https://github.com/wernsey/robinson-c https://github.com/wernsey/robinson-c