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

c++ love it or hate it?

Name: Anonymous 2011-01-10 19:16

personalty, i love c++ whats your opinion on it?

Name: Anonymous 2011-10-16 10:07

hate it.

Name: Anonymous 2011-10-16 16:23

>>35

is this attitude serious? allocating memory manually is better for simple programs with a team of maybe 2 or 3 people. but once you get up to larger teams with bigger programs, garbage collection is faster than doing by hand. this has been proven over and over again.

managing state in your head is even worse than managing memory. it adds unnecessary complexity that makes the system less stable and less extensible. you should really read the humble programmer. if turing award winners can not effectively manage state in their hand, then i dont think you can. it leads to code that is untenable.

actor based models are the future of computation. we have about 2 generations of cpus before they cap out. we have more information in our hands than ever before, and if we want to make sense of it then we need to be able to run software on 1000+ machines with 100+ cores each.


i have yet to see a great programming mind say that garbage collection and stm are not useful.

Name: Anonymous 2011-10-16 16:45

C/C++ is a bubonic plague, while jews are the rats, who spread it.

Name: Anonymous 2011-10-16 16:46

>>82

If the way memory is allocated and deallocated is very well documented, it is possible for multiple people to manage it together. It is an extra complication that can be completely avoided by using garbage collection, but it isn't going to make collaboration impossible. Although if at least one developer makes assumptions about how memory is allocated/deallocated, and doesn't document the assumptions, then things will get confusing.

Another unrelated issue would be using an allocation scheme that ends up not being sufficient later on, IE, maybe some of the items in a container need to persist after the container is destroyed after all. It can be tedious to go back and redesign the container to fit this, after taking advantage of the restriction when writing other code. One could probably establish conventions for avoiding this problem though. Reference counting everything and then converting needless reference counting pointers to regular pointers later when the project is complete could be a good idea.

Name: Anonymous 2011-11-04 8:25

>>76
Ever seen Boost.Range?

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