0
C and c++ are written in assembly??? Or other??
2 Réponses
+ 2
No.
Modern c and c++ compilers are most often written with c and c++.
You're probably curious about the apparent chicken and egg problem when a language is first introduced, though. High level languages such as B, and Fortran existed before c and their compiler tools could have been used. I wasn't able to find which exact tool or programming language was used to make the first c compiler, though.
c++ was started with some tools to translate c++ to c. class features would be converted to c's struct. This translation tool was called Cfront and implemented in c to start with. Cfront was implemented with its own c++ features later but the automatically translated c of it kept being used to compile on certain platforms. More detail on Cfront is at: https://en.wikipedia.org/wiki/Cfront
The important thing to get out of this apparent chicken and egg problem is that there really isn't one. You can write a compiler, translator, or interpreter in any language. Often a language's main tool eventually gets made with its own language but it can start being supported by any pre-existing programming language.
0
Josh Greig Do I have to figure it all out myself? yeah I finally find it I extract Android apps and windows apps it contains only high level language there is no converters between high level to binary or machine language. the real compiler is attached to our os ....