News for hackers. Stuff that matters.
Re:Will Carbon Replace C++? by MBCook on Monday February 27, 2023 @10:37PM (#34965334)
> Swift didn't replace Objective C

Give it time. Unlike the other examples one company (Apple) has full control here. There is basically zero demand for Objective-C outside of development for Apple platforms.

Apple is already making Swift only features and APIs and is deprecating older things. Obj-C is arguably legacy already, but still works fine.

I’ll bet plenty of money there will find a day when Apple says “This is it, next release it’s out of the toolchain”.

Existing developers often have Obj-C code (I do), but the biggest user is Apple. So they can’t kill it tomorrow. But its days are numbered.

No one is in that kind of position with C/C++/JS/Java.

Re:Will Carbon Replace C++? by pjmlp on Tuesday February 28, 2023 @12:13PM (#34971854)
One exception is Metal, it is actually implemented in Objective-C with Swift bindings.