"Ladybird is an ongoing project to build an independent web browser from scratch."
Yep, from scratch, by a former Qt/WebKit developer (plus hundreds of other contibutors):
https://awesomekling.substack.com/p/ladybird-a-new-cross-platform-browser-project
There's no binary downloads - it needs to be compiled - and it's currently all in the repository of the Unix-like SerenityOS which spawned it - but the source of the whole OS is only ~100MB (plus ~200MB Git history)
The source seem reasonably structured - it's easy to navigate to the file where SVG circles are implemented, for example - although the code itself is littered with useless bollocks like:
// 1. A move-to command to the point cx+r,cy;
path.move_to({ cx + r, cy });
and
// 1. If this’s URL’s cannot-be-a-base-URL is true, then return.
if (m_url.cannot_be_a_base_url())
return;
Comments are helpful when they take less reading than the code and/or explain something not obvious; junk like the above just gets in the way and makes code harder to deal with.
Still, it's an intriguing project, nice to see someone who isn't just rolling over and handing more control to Google, and I'm interested to see what it evolves into - maybe it'll eventually do to Chrome what Firefox did to IE. |