by N-Krause · 10mo ago · 0 comments
Could Manifest v3 be the reason we have so much fresh air blowing in the browser ecosystem or does it just stem from a general unhappiness of said ecosystem?
Ladybird was already progressing rapidly within SerenityOS well before it was officially launched, and I think that's given people a new inspiration for how plausible it is to create a browser from scratch. I'm really pleased we're seeing Servo having a resurgence too.
Ladybird is written in C++, which is memory-unsafe by default (unlike Rust, which is memory-safe by default). Firefox and Chrome also use C++, and each of them has 3-4 critical vulnerabilities related to memory safety per year, despite the massive resources Mozilla and Google have invested in security. I don’t understand how the Ladybird team could possibly hope to secure a C++ browser engine, given that even engineering giants have consistently failed to do so.
And part of Firefox/Chromes security effort has been to use memory safe languages in critical sections like file format decoders. They're far too deeply invested in C++ to move away entirely in our lifetimes, but they are taking advantage of other languages where they feasibly can, so to write a new browser in pure C++ is a regression from what the big players are already doing.
And most of them are in the browser code itself, not in dependencies. By far the biggest offender tends to be the JavaScript engine.
Or maybe it doesn't have to take so much time to do a rewrite if an AI does it. But then I also wonder why not do it now, rather than wait.
I think there was some work with the Swift team at Apple to fix this but there haven't been any updates in months
I've used Swift a bunch for hobby projects, and the two things that suck about it are:
1. XCode
2. Compile times
I would assume if you're coming from C++ or Rust the compile time issues aren't really something you notice anyway :P
I doubt you'd invest that kind of money/time into a project without a good reason. I am not saying that ladybird or manifest v3 are the reason, I just notice a lot of new energy in the not-just-chrome category and wonder what the other reasons might be.
Andreas Kling is pretty open about his reasons to have started the ladybird project and I just know Servo from his monthly videos and a few other sidenotes, so I was surprised that it gained so much traction after being basically dead.
Igalia is generally pro open-source, and Servo certainly aligns with their ethos, but a lot of the money came from Futurewei / Huawei who are interested in Servo because it's not US based, and therefore they are actually able to contribute to it (they are effectively banned from contributing to Chrome/Firefox/Safari due to US sanctions). There is now also funding from the Sovereign Tech Fund who are also interested in a "European browser" (and NLnet, but they fund all sorts of things)
> I doubt you'd invest that kind of money/time into a project without a good reason.
Igalia is a very peculiar company. I would not rule out "it's a good thing for the commons and we bet we'll get some upside eventually" as the reason.