logoalt Hacker News

troad08/01/20253 repliesview on HN

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.)


Replies

pjmlp08/01/2025

I saw organizations in the past do that with Java and .NET, moving away from C++.

It is perfectly feasable for companies that are full commited into Apple ecosystem.

philwelch08/01/2025

Maybe not, but an Objective-C++ codebase might be a good candidate.

show 1 reply
saagarjha08/02/2025

I think Apple is largely doing this for themselves.