Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

closed as off-topic by Snowman, Ixrec, Bart van Ingen Schenau, MichaelT, GlenH7 Jan 26 at 19:32

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to find or recommend tools, libraries, programming languages, resources (including books, blogs, tutorials, and examples), or projects to undertake are off-topic on Programmers as they attract opinionated answers that won't have lasting value to others. You may be able to get help in The Whiteboard, our chat room." – Snowman, Ixrec, Bart van Ingen Schenau, Community, GlenH7
If this question can be reworded to fit the rules in the help center, please edit the question.

The short answer is there's a reason I spent four years studying computer science at college. It takes a while to get through all of those layers. – Ixrec Jan 19 at 21:41
up vote 0 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

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