> Who can think that it's a good idea to start a new web runtime in C++?
Swift wasn't ready and clearly they dont like rust for this application, swift might still not be ready on non-apple platforms although it does look very promising.
Go look at the ladybird source, it's not the C++ you and everyone who shouts "unsafe" thinks it is.
And I took all of a day and less than a thousand lines to find UB in safe rust, so don't even bring up the UB argument. In case you are wondering, a str with invalid UTF-8 may cause UB, it's not unsafe to handle a str and they sure aren't going to put checks everywhere for it so they just hope that whoever handed you that str didn't encoded it some other way.
Now at least the only safe ways to parse a str actually involves checking but that means I need to now trust every single library that passes me a str to make sure they didn't parse it in an unsafe manner, and UB that I cannot be aware of might exist in my code, sound familiar?