So, why do people still use C++ if it is so complicated? Here is what I was thinking tonight. I was watching that lecture about the C++ Renaissance, but a lot of the code was so messy even for very basic stuff. Also, the libraries were very limited to just basic computational stuff. Then we look at things like Java or Lisp were the already given libraries can do things like GUI and concurrency (C++ took a long time to catch up). Everything is pretty safe and easy to code. I do not understand why so much of the industry still uses C++.
Name:
Anonymous2011-09-19 2:12
>>1
Because garbage collection is exactly that, garbage. Call me when there's a general purpose language as expressive as Lisp, with strong typying, static compilation to machine code, and without the gargbage collection.
I don't want a language to hold my hand when it comes to memory management. I don't want a language that runs in a virtual machine.
Name:
Anonymous2011-09-19 2:15
>>1
Also, the concurrency libraries in C++ far surpass those in Java or Lisp these days. Take a look at PPL, TBB, OpenMP or C++AMP.
>>16
Python and Ruby (I don't know about Perl) are designed and implemented by people who don't have a clue about anything. Using the result of their cretinism as a way to benchmark success is stupid. Learn to troll, faggot.
Name:
Anonymous2011-09-20 14:36
>>18
Just because you don't know how does the bare metal work doesn't mean you are a clueless programmer who writes stupid shit.
>>23
From my point of view, the only case in which GC truly helps is with closures, and `C emulates them brilliantly. All other uses of GC are unnecessary bloat. Someone should add `C support to gcc.
>>30
So? That still doesn't support your idiotic assertions.
Name:
Anonymous2011-09-20 16:09
>>32
In the vast majority of cases, allocation/deallocation is stack-shaped, and it is trivial to do without GC. Some other cases involve cycles, but they're actually quite rarely needed and easily resolved using weak references. My point is that the only things for which GC is useful are closures.
>>36
Go run off and scrub another toilet you mental midget.
Name:
Anonymous2011-09-20 16:52
>>37
Just as I thought smug 16-year old lispers were the most annoying plague that this board could possibly face, you came along. Sincerely, fuck you.