Sign up ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

I have been searching for an example over the internet that shows any operation like saving a file or drawing anything in UI or any other sort that shows the implementation from High-leve language code to Low-level code to deep down machine level code.

The basic idea is to explain the computer working in a nutshell. Like, in high-level laguage we write int c= int a + int b which is compiled into low-level code IL_0001: ldarg.1 IL_0002: ldarg.2 IL_0003: add and then to machine level code.

Any example or code flowchart from high-leve language to deep down machine code will be helpful.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

DTrace is the only tool can do such deep inspection throughout software stack that I know of. You may find this example of tracing from PHP all the way to OS kernel useful.

It was originally developed at Sun Microsystems as one of key new features for Solaris 10. It has been ported to Mac OS X and FreeBSD since then. A breakthrough if you ask me.

share|improve this answer
DTrace is brilliant. – Sedate Alien Dec 8 '11 at 6:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.