

Ladybird started as the browser for SerenityOS, a hobby project Kling began as an addiction recovery aid. Out of personal preference, it was in C++.
Now that Ladybird is separate and the project has seven full-time engineers a couple million in sponsorships, they started switching to Swift with the release of Swift 6.
A browser in a toy OS is not a security-critical position.