Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?
User Journal

Journal Journal: DTrace.

Freaking Christ on a stick. DTrace might be among the two or three most powerful tools I've ever used.

Try to remember back to when you were first learning to code. Some kind soul took pity on your printf-debugging booty at some point, and showed you how to use a source-level debugger, and it felt as though scales had fallen from your eyes. "So this," you thought, "is how software development ought to work!" You set breakpoints, and watchpoints, and stepped through line by line, isntruction by instruction, all the while cackling in euphoria at your newfound omnipotence.

DTrace is the kernel developer's version of that. I predict that people will someday be amazed that performance work was possible without this tool. Old-timers telling debugging tales of the days before DTrace will attract the same hushed, awed crowds found around today's old-timers talking of punched tape and soldering irons.

Unfortunately, dtrace only exists for Solaris. I love Solaris. I learned to program there, it was the first real OS I got to know with any intimacy, and in many ways it still feels like home to me. I also have friends who work on Solaris, and they are some damn fine engineers. However, unfortunately for us all, Solaris seems to be a platform rapidly spiralling into quasi-irrelevance. Sun, IBM, anyone with a stake in Linux and some smart people, please sit some folks down with the dtrace manual, and rip off this great piece of software for Linux.

User Journal

Journal Journal: Win32 reverse-engineering

So, these French kids with too much time on their hands have apparently learned how to use windbg. They've started disassembling, and de-compiling by hand, parts of the windows kernel. Who knows how reliable their x86 assembly skills are, though the little parts I've looked at seemed reasonable enough. If you sometimes are curious what on earth the nt kernel is doing, but don't want to give Microsoft a DNA sample to get a source license, you might find this worthwhile.

"Ask not what A Group of Employees can do for you. But ask what can All Employees do for A Group of Employees." -- Mike Dennison