6 ms·
And in many ways Microsoft is now supporting C++. Though that language sees a lot more cross pollination between companies because of its ubiquity and age. I f
by zanny 13y ago
And in many ways Microsoft is now supporting C++. Though that language sees a lot more cross pollination between companies because of its ubiquity and age.
I find it interesting as a programmer who loves to operate in the space that uses useful abstractions but still is running on raw hardware, as C++ improves rapidly with the new release model since C++11, my interest in D wanes. I hope that most of what D is eventually seeps into C++, but nowadays I don't mind my C++ syntax and don't feel like I'm fighting with it as much.
- cldr 13y agoSame here; I used to be a huge fan of D but then C++11 came along and solved most of my problems (and some that I didn't know D had).
- pjmlp 13y agoThe problem is that when you work on big teams and are forced to work in C++98 with lots of style guide restrictions. Or when management will ever allow for updating the compilers on the build infrastructure. Also compiling C++ code in C++11 mode won't make many developers use Modern C++, instead of C compiled with a C++ compiler, as many still do. Maybe it works for your context, but in a global context we need to have safer languages for systems programming. Which were already available when C didn't had any meaning outside UNIX.
- cldr 13y agoThat's true, but you can write C code in D as well, so switching to D won't make people write idiomatic code either. If they won't learn how to use one correctly then they won't care enough to use another correctly. And if your company won't let you upgrade compilers, then it certainly won't let you switch languages altogether.
- pjmlp 13y ago> That's true, but you can write C code in D as well, so switching to D won't make people write idiomatic code either With a Pascal like type safety. You need to be explicitly mark your code as @system to be allowed to do C like tricks. This alone is a very big advantage.
- deleted 13y ago[deleted]
- cageface 13y agoAgreed. I've been working on a new code base where I can work exclusively in C++11 and I've found it to be surprisingly pleasant and productive. I'm still keeping an eye on some of the alternatives in this thread but if I had to carry on with C++ now I'd be much happier than I would have been without all the new features.
- el_muchacho 13y agoC++11 adds a little welcome syntaxic sugar to the language. Yet C++ is nowhere near supporting functional style as well as D does. It really doesn't look and feel the same.