News for hackers. Stuff that matters.
Re:BCHS stack – BSD, C, httpd, SQLite by pjmlp on Sunday June 18, 2017 @12:24PM (#14581375)
The difference being that C++ offers the language features and standard libraries to write safer code, while C....
Re:BCHS stack – BSD, C, httpd, SQLite by PrimHelios on Monday June 19, 2017 @12:56AM (#14584706)
>C++

>Safer code

Not really. I mean, using vectors and strings is nice, but that's about it for safety. You'll still get a shit-ton of memory leaks which isn't great for long-running web apps.

Re:BCHS stack – BSD, C, httpd, SQLite by pjmlp on Monday June 19, 2017 @01:06AM (#14584727)
It seems you haven't updated yourself on C++11, C++14, C++17 best practices.

If the code has any explicit new/delete or malloc/free, then something is wrong with the design.