Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

[C++] delete considered harmful

Name: Anonymous 2016-01-02 14:13

The unbridled use of the delete statement has as an immediate consequence that it becomes terribly hard to find a meaningful set of coordinates in which to describe the process progress. ... The delete statement as it stands is just too primitive, it is too much an invitation to make a mess of one's program.

Never use delete, use smart pointers, memory pools, stack allocations. Don't break RAII.

Name: Anonymous 2016-01-06 17:12

>>35
McCarthy had carte blanche to develop LISP. Billions of dollars and hundreds of MIT students were poured into the LISP swindle.

compilers were optimized to the level of GCC
GCC is a Free project. If billions of dollars in funding can't make LISP as fast as GCC, that isn't a problem with money, it's a problem with LISP. There are other important things besides being fast, but LISP, despite the MIT brain drain, fails at them too.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List