Here I read a lot of questions that explain what stack and heap are, for example. this one: What and where is the stack and heap? that was very helpful.
I understand that high-level languages ββare compiled into an intermediary language, for example. byte code for Java and MSIL for .NET programs. Then MSIL and byte code are compiled into machine code.
I realized that intermediary languages ββuse the stack and heap, and then the program is compiled into machine code, which depends on the platform. case for windows.
However, in a question that I linked to some of the respondents, for example, Brian R. Bondi provides examples of C and C ++. I know that C ++ does not have a virtual machine and is compiled directly into machine code. My question is: are there programming languages ββthat do not have a virtual machine, have a stack and a bunch? In the case of these programming languages, do they use the stack and heap as an intermediate representation when compiling directly into machine code?
Update I understand that there are virtual machines based on the stack and registration. The question I ask is this: are all physical machines registered?
w0051977
source share