Physics of Debugging (Part 1)

Elaborating on threads in abstract space idea I tried today to apply canonical formalism of classical mechanics. Thread kinematics involves two abstract coordinates q1 and q2 which correspond to memory addresses and their dereferenced values respectively. Although these are discrete variables (N), we can generalize them to be continuous (R+). The motivation lies in the discreteness of physical measurement: if we divide [0,1] interval into 264 sub-intervals we get approximately 5.421e-20 values which are small indeed even by today’s experimental standards. Next we introduce dynamic variables called v1 and v2 which correspond to the rate of change of an address and the rate of change of a value respectively. These are called generalized velocities (we leave the definition of momenta for the next time). These can also be continualized according to the same line of thought we used for generalized coordinates. So finally we have R+2 x R+2 space. R+2 can be complexificated into the subset of C and we get the subset of C2. If we allow negative addresses and values we get full R2 x R2 space or, after complexification, the full complex C2 space which is well-known for its magic in physical theories. If we have N threads we get C2n space.

Now we can go forward and employ all apparatus of classical physics :-) Just one final remark for now, we need to call the particle: I propose to name it classical μ-memuon.


1 The founder of Physics of Debugging :-)

- Dmitry Vostokov @ -

One Response to “Physics of Debugging (Part 1)”

  1. Crash Dump Analysis » Blog Archive » The Successor… Says:

    […] Crash Dump Analysis Exploring Crash Dumps and Debugging Techniques on Windows Platforms « Physics of Debugging (Part 1) […]

Leave a Reply

You must be logged in to post a comment.