Closing this as we are no longer pursuing Swift adoption
1–10 of 332 posts
Re: Closing this as we are no longer pursuing Swift adoption
#2Re: Closing this as we are no longer pursuing Swift adoption
#3For the record, I don't have a dog in this fight. As long as it runs on Linux, I'm willing to test drive it when it's ready.
Re: Closing this as we are no longer pursuing Swift adoption
#4Re: Closing this as we are no longer pursuing Swift adoption
#5 Everywhere: Abandon Swift adoption
After making no progress on this for a very long time, let's acknowledge
it's not going anywhere and remove it from the codebase.
https://github.com/LadybirdBrowser/ladybird/commit/e87f889e3...Re: Closing this as we are no longer pursuing Swift adoption
#6[flagged]
Re: Closing this as we are no longer pursuing Swift adoption
#7That's interesting, what happened? They don't explain it there. For the record, I don't have a dog in this fight. As long as it runs on Linux, I'm willing to test drive it when it's ready.
It's a shame, I think swift is an underappreciated language, however I understand their reasoning. I think if they tried to just use swift from the beginning it would have been too ambitious, and trying to add swift to a fragile, massive project was probably too complex.
Re: Closing this as we are no longer pursuing Swift adoption
#8Not too surprising. Swift is too tied to Apple and it's not really clear what the benefit would be relative to a subset of C++ written with contemporary memory safety practices. It's a battle tested choice and pretty much every browser actually in use is written in C++.
Re: Closing this as we are no longer pursuing Swift adoption
#9Not too surprising. Swift is too tied to Apple and it's not really clear what the benefit would be relative to a subset of C++ written with contemporary memory safety practices. It's a battle tested choice and pretty much every browser actually in use is written in C++.
Every browser in use is stuck with C++ because they're in way too deep at this point, but Chromium and Firefox are both chipping away at it bit by bit and replacing it with safer alternatives where they feasibly can. Chromium even blocked JPEG-XL adoption until there was a safe implementation because they saw the reference C++ decoder as such a colossal liability.
IMO the takeaway is that although those browsers do use a ton of C++ and probably always will, their hard-won lessons have led them to wish they didn't have to, and to write a brand new browser in C++ is just asking to needlessly repeat all of the same mistakes. Chromium uses C++ because Webkit used C++ because KHTML used C++ in 1998. Today we have the benefit of hindsight.