Re:Welcome Chris Lattner
by nicky0 on Wednesday January 11, 2017 @08:27AM
(#13373721)
Just to point out that the Swift LLVM compiler is written in C++. So it being unreliable doesn't necessarily say much about the reliability or goals of Swift as a language.
[ Parent
| on HN ]
It looks like you haven't used C++ in a while.
C++14 is a whole other world, and can be written with most (if not all) the safety guarantees you would expect from Swift or Rust.
I had to use it for a project and was very surprised about this too...
Re:Welcome Chris Lattner
by autoreleasepool on Wednesday January 11, 2017 @08:47AM
(#13373820)
You're lucky if you get to use C++14 in the real world. My last C++ job was maintaining a 2 millions of line of legacy MFC code.
Even there one can write quite safe C++ code with help of CArray, CString, CComPtr, ...
I used MFC like that in the late 90's/early 2000.
The problem are the team mates that write Win32/C like code, instead of MFC/C++ code.