[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [computer-go] Re: which programming language is better
On Sat, Sep 11, 2004 at 11:56:52AM -0400, Compgo123@xxxxxxxxxxxxxxxxx wrote:
> Recently I got some new ideas and decided to re-write my program. So this
> subject has some meaning to me. My experience tells me that the easiness to debug
> a program is of great importance. The most often met problems are the memory
> leak or illegal memory reference. Some of the problems hide very deep. They
> were found most of the time when I do a large number of search. For example when
> I search 1 million nodes the program is fine. But it hangs up at about one
> and half million nodes. Made it vey difficult to debug. So there should be a
> convenient way to check memory leak and to debug.
At least on Linux there is this program called Valgrind. It will run
through your program, and catch many memory problems, both leaks and
attempts to access memory out of bounds. That has saved me many painfull
hours in my professional life!
-H
--
Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/