x64 Debugging

Here’s an index of all of the x64 debugging topics covered by Ken Johnson. This series takes you through the experience of doing user mode debugging on x64, including native x64 debugging, Wow64 debugging, and the various different combinations of 32-bit and 64-bit debuggers that you’ll find available to you on a 64-bit machine (and when to use which one):

  1. Introduction to x64 debugging, part 1
  2. Introduction to x64 debugging, part 2
  3. Introduction to x64 debugging, part 3
  4. Introduction to x64 debugging, part 4
  5. Introduction to x64 debugging, part 5


Intel Guide for Developing Multithreaded Applications

The Guide provides general advice on multithreaded performance. Hardware-specific optimizations have deliberately been kept to a minimum. In future versions of the Guide, topics covering hardware-specific optimizations will be added for developers willing to sacrifice portability for higher performance.

Application Threading
This chapter covers general topics in parallel performance but occasionally refers to API-specific issues.
The topics in this chapter discuss techniques to mitigate the negative impact of synchronization on performance.
Memory Management
Threads add another dimension to memory management that should not be ignored. This chapter covers memory issues that are unique to multithreaded applications.
Programming Tools
This chapter describes how to use Intel software products to develop, debug, and optimize multithreaded applications.

Is a Well-Lived Life Worth Anything?

I was reading a very interesting article about how we live today at Harvard Business Review by Umar Haque. He puts forth nice perspective about what is good living and not just existence. It is of utmost importance that at the end of the day we feel happy and satisfied and be at peace with self. It is truly said: “A man who rules himself, rules the world.”

Here is the excerpt:

Living, (working, and playing) not just having. Where the pursuit of opulence is predicated on having more, bigger, cheaper, eudaimonia is a more nuanced, complex conception of a good life: it’s about whether or not the pursuit of mere stuff actually translates into living, working, and playing meaningfully better in human terms.

Better, not just more. The key word is “better” — and where opulence asks, “Did you get the latest car, yacht, gold-plated razor — or are you just a loser?” eudaimonia asks, “Did any of that stuff make you meaningfully better — smarter, fitter, grittier, more empathic, wiser? Or are you just (yawn) a pawn in the tired, predictable game called ‘the pursuit of diminishing returns to hyperconsumption’: the game that’s rigged by hedge-fund bots against you?”

Becoming, not just being.
 If eudaimonia’s about living, working, and playing better, not just having more, well, Houston, we have a problem. Economic “growth” as you and I know it is probably fundamentally inadequate to tell us much about it, because how we measure growth is just about stuff. But measures of “happiness” don’t cut it either, because eudaimonia is more complicated than that. The multiplication of eudaimonia can be gauged neither by “GDP,” then, nor by tracking self-reported happiness, nor by basic, simple measures of basic human development, like the HDI — but rather, by understanding whether or not people are becoming their better, wholer, grittier, wiser, fundamentally more accomplished selves. Those real-world measures and tools largely haven’t been invented yet.

Creating and building, not just trading and raiding. The pursuit of eudaimonia most definitely can’t amount to much in economies where those who trade accomplishment and raid societies earn thousands, millions, or billions of times as much as the creators and the builders of those societies— because the result must be an enduring undersupply of the stuff of deep significance, beauty, and meaning. Eudaimonia is constructive in the sense that it’s ignited by those creators and builders — and it always has been.

Depth, not just immediacy.
 The pursuit of eudaimonia demands depth like Trump needs a better haircut: that is to say, seriously. What does it mean to work, play, and live meaningfully better? It’s not an easy question to answer, and I’m not offering you any easy, pat answers. Rather, the pursuit of eudaimonia itself demands time, space, and room to reflect on questions of gravity and depth, preferably together: deliberatively, associatively, consensually.

Continue reading…


Dennis Ritchie

Ritchie has shaped our world in much more fundamental ways than Steve Jobs or Bill Gates have. What sets him apart from them is that he did it all not in a quest for wealth or fame, but just out of intellectual curiosity. Unix and C were the product of pure research—research that started as a side-project using equipment bought based on a promise that Ritchie and Thompson would develop a word processor.

Imagine what the world would be like if they had just stuck to that promise. What would your life be like without C or Unix?