News for hackers. Stuff that matters.
Re:Apple Announces Full Swift Rewrite of the Foundation Fram... by sacnoradhq on Wednesday January 11, 2023 @05:19PM (#34345856)
None. It's code organizational syntactic sugar and abstraction that incurs a runtime penalty (vtables).

Go ditched OO for similar reasons.

Haskell, Erlang, and more get along fine without OO.

(OO crested with Smalltalk, Java, Ruby, Python, and JS (more prototypal though). Let's not talk about C++98)

Re:Apple Announces Full Swift Rewrite of the Foundation Fram... by metaltyphoon on Thursday January 12, 2023 @11:33AM (#34356137)
Don’t trait objects work the same way as vtables (fat pointer)?
Re:Apple Announces Full Swift Rewrite of the Foundation Fram... by Gigachad on Thursday January 12, 2023 @08:23PM (#34362787)
Monomorphisation solves this. The compiler duplicates functions for every type you use them with in the finished binary.