News for hackers. Stuff that matters.
Re:Edward C++Hands by pjmlp on Friday September 20, 2013 @02:59AM (#6416328)
> Well, there is also the difficulty that there has not been, save Ada, a serious and concerted effort to replace C and C++ for so many of the things that they are used for.

Except Ada is older than C++, so it cannot be an effort to replace it.

Around the time C was still UNIX only we also had Modula-2.

An advantage C and C++ have over many other languages is that they are part of the standard tooling from OS vendors.

The only way to get people to use other, safer systems languages, is when OS vendors push for them.

For example, Objective-C would be dead if it wasn't the only language to fully explore iOS and Mac OS X capabilities.

Sure you can write bindings in other languages, but Objective-C will remain the language to go to.

The same with any language that would be targeted to replace C or C++. Without OS vendor support, no chance.

Re:Edward C++Hands by pornel on Friday September 20, 2013 @05:12AM (#6416713)
> For example, Objective-C would be dead if it wasn't the only language to fully explore iOS and Mac OS X capabilities.

It's a symbiosis. Cocoa would be much worse and harder to program if it wasn't for Objective-C.

Objective-C gives a stable, object-oriented ABI without requiring a VM.

Objective-C runtime is as powerful and dynamic as Python or JavaScript, e.g. you can replace any method of any instance of a class, even ones you haven't defined yourself, and Cocoa uses this for UI bindings.

Re:Edward C++Hands by pjmlp on Friday September 20, 2013 @07:11AM (#6417015)
I haven't said otherwise, just that hadn't Apple not decided to push it, the language would be dead.

This was the reason behind the Cocoa Java support in the early versions, as Apple was not sure if mainstream developers were willing to pick up Objective-C, even with them pushing for it.