Quantcast
Channel: low level explaination
Viewing all articles
Browse latest Browse all 5

low level explaination

$
0
0

hey,

these might be a difficult questions but still:

Can sb explain me how the namespaces, symbols etc. work in low level detail? I read on many places that namespaces guarantee your functions variable to be unique, but what does this mean for the resulting machine code?

What is meant by symbols, e.g. symbols after compiling example.c or so. Are these symbols variables, or functions? What do symbols do? I do understand the linker part, that it links symbols of different machine code together, right?

How do functions work in low level? When I e.g. call CPPIsAwesome() (leaving out the parameters etc. I do get the stack part), it is a subroutine. How is a subroutine executed? Is is just part of the global code? Or is it simply code with a demand of usage of the stack?

And last, what is a varialbe? maybe a stupid question, but in low level, how does a varialbe look like? Is it the memory address, or the value? C/C++ took it to such a level of abstraction that it seems to be the value of sth, but I would like to see the complete picture of how varialbes work. If I call a variable, do I request the value associated with the memory address, so implying a varible is just a memory address? Or is it the value itself?

THanks you for your attention


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>