News for hackers. Stuff that matters.
Re:What made John Carmack a legend in C++ programming? by ttul on Monday March 19, 2018 @07:37PM (#16624466)
Yeah, not sure why the author was praising the excellent library and string class. That’s what std provides. Why reinvent the wheel?
Re:What made John Carmack a legend in C++ programming? by rob23 on Monday March 19, 2018 @09:39PM (#16625250)
Because the year is 2000-2002 and you are embarking on writing a game engine targeting PC, Mac, Xbox, Playstation, and any other consoles or platforms that come onto the market before your engine is finished. Compilers and standards compliance was a shit show. Things like EA-STL might look silly nowadays, but there are many great reasons why companies rolled their own stuff back in the day.
Re:What made John Carmack a legend in C++ programming? by AstralStorm on Tuesday March 20, 2018 @05:10AM (#16626971)
Even now STL is not perfect for realtime and threaded programming.

Thus comes from outdated and schizophrenic approach to memory management. It is getting fixed but that will take years and multiple revisions of standard.

Let's start with lack of immutable objects, continue with missing support for pmr or allocators and finish with hidden default heap allocations in algorithms and data structures. (Including some smart pointers.)

Re:What made John Carmack a legend in C++ programming? by ttul on Tuesday March 20, 2018 @07:11AM (#16627489)
#schooled