News for hackers. Stuff that matters.
Re:C99/C11 dynamic array that mimics C++'s std::vector by pjmlp on Saturday January 07, 2017 @10:21AM (#13344510)
The thing is, we get dispointed when the code just looks like "C compiled with C++ compiler", with all security exploits that entails.

A good example is how Turbo Vision, Object Windows Library, Visual Components Library, Qt look like and the concessions Microsoft had to make to Afx so that it got rebranded into MFC and appealed to the Windows C developers.

Re:C99/C11 dynamic array that mimics C++'s std::vector by beojan on Saturday January 07, 2017 @11:26AM (#13344863)
The idiosyncrasies in Qt etc. are because they were first designed when C++ was very young, and many compilers had poor support for the STL.
Re:C99/C11 dynamic array that mimics C++'s std::vector by pjmlp on Saturday January 07, 2017 @11:42AM (#13344967)
You misunderstood me.

I was first talking about the set of frameworks that dared to embrace the then C++ best practices. All of them are older than C++98, or even before STL was being considered.

Then I mentioned the fact that when Microsoft presented their Afx framework to their beta testers, mostly Windows C developers, it was considered too high level and it was rebuilt as MFC.