Apple recently introduced a language they call Swift or Objective-C without the C. It is technically a completely different language from Objective-C though. When C++ started out it had the major benefit that it was (mostly) compatible with C which at the time was immensely popular, making it trivial to mix new C++ code with existing C code. Today C is still a popular language but not as widely used as it once was. Assuming that C++ could drop C compatibility, how would you take that opportunity to improve
by Anonymous Coward writes:
on Thursday August 14, 2014 @05:02PM (#47673481)
We already have that language. It's called D. And the popularity of D compared to C++ is probably telling. C++ has all those ugly warts because it's used so widely, in too many different application areas. D isn't that compatible to everything that has a C API.
C++ without the C (Score:5, Interesting)
Apple recently introduced a language they call Swift or Objective-C without the C. It is technically a completely different language from Objective-C though. When C++ started out it had the major benefit that it was (mostly) compatible with C which at the time was immensely popular, making it trivial to mix new C++ code with existing C code. Today C is still a popular language but not as widely used as it once was. Assuming that C++ could drop C compatibility, how would you take that opportunity to improve
Re:C++ without the C (Score:0)
We already have that language. It's called D. And the popularity of D compared to C++ is probably telling. C++ has all those ugly warts because it's used so widely, in too many different application areas. D isn't that compatible to everything that has a C API.
Re: (Score:0)
The question is, would Bjarne Stroustrup make D?