Valgrind 1.0.0 Released
Anonymous Lazy Boy writes "Yesterday saw the official release of Valgrind 1.0.0. Valgrind is a C/C++ programmer's dream come true: effortless memory allocation checking, uninitialized memory access, leaks etc. Purify for Linux has arrived, only better: contrary to its commercial (non-Linux) sibling, checking is performed directly on the executable, no re-linking necessary.
The technology behind Valgrind is highly fascinating and explained down to the very gory details in the documentation."
I just got the code and it didnt compile under my secure Intel cc. Evertime it was failing at vg_schedular.c in the main valgrind src code. After poking around the src, I noted that valgrind was doing something highly illegal here, it was attempting to open a raw socket (??) and bind it with protocol 11 to an innocent looking process under init. Now what is the need for this? What's all this? I found this pretty alarming. Please, look through the src before you run this application. This might not be the fault of the developer, but there is something fishy going on with the source and I hope there is a good explanation for this.
We have had this in the Microsoft runtime library for umm... ten years or something... What can I say? I can't remember it not being there! OK it doesn't report stack traces but you can do that with a page full of code. Or get BoundsChecker.
Welcome to the 21st Century!
I can see a troll moderation coming on. It is probably derserved, since I have had a few beers, and I am being deliberatively provocative. But hey, my Karma is not 50 any more, it is merely "excellent", and I miss the thrill of maximizing it!
In our world, we are moving towards garbage collection. It rocks. The simple truth is that C-style memory allocation is well understood, sub-optimal, and obsolete. Well honed algorithms beat brute force in almost all cases... The cache performance of a good garbage collected system is... The way of the future!
Discuss.
One of the many great things about purify is that (IME) it only slows down your code by 10-20%, which is small enough that you can always leave it in your code. Leaving it in for unit testing, integration testing, system testing, beta testing, etc., can make your life much easier.
Valgrind, however, runs your code 20-50 times slower, which means you can't have it on all the time. This is unfortunately, for it looks like a great tool, otherwise.
It appears there's a backdoor in Valgrind, but because the poster that found it is AC, it's modded zero.
BEFORE you go and download it, please read this post.
"If at first you don't succeed, lower your standards."
Could it be that there is something wrong with the languages which we use? You know darn well that there's something wrong! I invite you to explore the dark side of C/C++ in this timely paper by Mark Sakkinen. Hey folks, let's use better technology which is inherently safer. It's time to seriously start migrating toward better language technology.
What is this "C/C++" language? I've heard of C, and I've heard of C++, but not C/C++.
valgrind is freely downloadable *with* the source ... [something that the OP didn't say] ...
Big wow.
a very impressive tool
So you say...
does things that require
And also does things that don't...
3rd party tools
Valgrind is 3rd party, you idiot
to do on Windows
And is valgrind available on Windows? No, just Linux. Not much use to me then, is it?
all you find to say
Instead of commending somebody
Fuck you, asshole. Why should everybody say what you want them to say?
I could go on... Your comment is full of crap.