Hacker News new | ask | show | jobs
by kennywinker 1127 days ago
> I would be surprised if we didn't have another ~5+ years of support

Five years would shock me. I’d say more like ten. It’s gonna take a huge concerted effort to get rid of objc in macos, and idk if it’s worth it

2 comments

There’s a proposal to allow C++ and Swift to interact in the same way that objc and C++ interact, and if that were to eventually become part of swift then objc’s days are numbered. Right now, one of the most significant reasons to continue using objc is that you don’t have to wrap everything in a C API.
FWIW, I’m the author and I think I wrote that line close to 5 years ago already… so you may be right. :)