News for hackers. Stuff that matters.
Re:C++17 and its Technical Specifications by PeCaN on Thursday March 03, 2016 @04:35PM (#11220223)
While modern C++ is pretty nice, I still think D and Rust have completely eaten its lunch. At this point I think the only thing C++17 does better than D or Rust is brand recognition. :P
Re:C++17 and its Technical Specifications by jokoon on Friday March 04, 2016 @03:54AM (#11222725)
I don't think so.

The advantage of C++ is that it borrows C's syntax. You can't beat the simplicity of C's syntax. I don't really care about C++ backward compatibility with C, but so far, when I read go, rust, and sometimes D, it looks alien and a little too complex to me.

Not saying C++ templates are good enough, but I think there are not many languages out there with a concise, limited syntax like C or python. Being easy to read and easy to learn is the most important aspect of a programming language. There is python, which really excels in this particular aspect of what makes C great, but I can't really think of any other language which is as much easy to read or comes close.

D is a good contender, but not everybody needs high level, multi paradigm and speed, and are ready to learn something new, especially when you can't reuse C++ libraries.

Re:C++17 and its Technical Specifications by jguegant on Thursday March 03, 2016 @04:42PM (#11220282)
Here starts the rustwin point.
Re:C++17 and its Technical Specifications by PeCaN on Thursday March 03, 2016 @05:06PM (#11220432)
Modern C++ isn't really that fun on Windows either... (no Valgrind, GCC and Clang are ported later, many fewer libraries)

D on Windows is surprisingly pleasant though.

Re:C++17 and its Technical Specifications by santaclaus on Thursday March 03, 2016 @05:19PM (#11220507)
I read the comment as a reference to Godwin's law, not Windows.

Rustwin's law: As discussions of C++ grow longer, the probability of a comparison to Rust approaches 1.

Re:C++17 and its Technical Specifications by PeCaN on Thursday March 03, 2016 @08:39PM (#11221463)
Derp, how'd I miss that. Yeah, I bet that was what the parent meant.
Re:C++17 and its Technical Specifications by readams on Thursday March 03, 2016 @07:57PM (#11221270)
Microsoft has been very active in the standards efforts. Valgrind missing is painful, but there are windows-specific memory validation tools as well. I'm a Linux developer though so I don't feel that pain much.
Re:C++17 and its Technical Specifications by santaclaus on Thursday March 03, 2016 @09:18PM (#11221616)
Do Clang's sanitizers work on the Windows?
Re:C++17 and its Technical Specifications by readams on Thursday March 03, 2016 @07:55PM (#11221260)
Rust is very exciting but the ecosystem needs to grow before it'll be as useful as C++. Fantastic language, thoughtfully designed.