[computer-go] Language
Álvaro Begué
alvaro.begue at gmail.com
Tue Nov 13 12:51:53 PST 2007
On Nov 13, 2007 3:36 PM, Stefan Nobis <stefan-ml at snobis.de> wrote:
> You miss the point: Using languages with GC is not about programmers
> who can't avoid memory leaks. It's not about ability, it's about
> productivity. If the only reason you don't use assembler is that with
> C your code is easier to port to a new processor I think you won't
> understand, but there are languages that are *much* more expressive
> (in the sense that an problem/algorithm is much more compact and
> readable to write down) than C. Yes, this comes at a cost, but not a
> very high cost and on the pro side you have a (much?) higher
> productivity (and maybe even more maintainable code).
If you learn how to use the STL containers in C++ and perhaps shared
pointers from boost, you don't need GC and I doubt anything can give you
much higher productivity. I haven't introduced a memory leak in a C++
program in years (and I use it all the time), and that's primarily because
I use STL containers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://computer-go.org/pipermail/computer-go/attachments/20071113/ab09733b/attachment.htm
More information about the computer-go
mailing list