logoalt Hacker News

gilgoomesh08/01/20252 repliesview on HN

Swift can also 2-way operate with C++. Its coverage of the C++ language is incomplete but I suspect it might outpace Carbon.


Replies

troad08/01/2025

I really struggle to imagine an organisation that shepherds a large and venerable C++ codebase migrating over to Swift.

For all of C++'s faults, it is an extremely stable and vendor-independent language. The kind of organisation that's running on some C++ monolith from 1995 is not going to voluntarily let Apple become a massive business risk in return for marginally nicer DX.

(Yes, Swift is OSS now, but Apple pays the bills and sets the direction, and no one is seriously going to maintain a fork.)

show 3 replies
LeFantome08/01/2025

I need to learn more about that. I know that the Ladybird folks want to use it inside their C++ project.