Don’t C/C++ scale linearly with more cores because you just compile different compilands on the cores? Wouldn’t that be the same for Swift? Note, I’ve never used Swift.
https://github.com/apple/swift/blob/main/docs/CompilerPerfor...
It's just that the fact that the language is cursed from the beginning gives an illusion of "linear scaling".