Hi. I started a thread, which is proving very helpful. But, if I post on that thread the things I now want to, I'll be moving rather off-topic, so I've started this new one.
I just want to examine, by posting questions related to source and target languages wrt compiling. I'm trying to build up a sort of vision of understanding. As it stands I see a human at a keyboard typing, in a very structured language (in the English), source code, (fed to the compiler software) which code is a function of the skill & knowledge of the programmer. He/she is writing (say) in C. The software produces an executable file, to be run on a machine that executes instructions, here, I mean the instructions contained in the executable file.
OK, as far as I know, a human (as oppossed to some language construction or translation by machine -, at the keyboard - can also write:
* assembly language
* object code
* machine code
I think machine code is object code, not entirely sure.
I'm assuming that any executable program made by writing in C, using compiler software, can also be made by writing in any of the above three languages (Are they all languages, I ask).
Questions:
Regarding all three languages above:
#1: Is the guy writing (possibly compiler guy) using compiler software?
#2: Is my assumption correct, that any executable file created, written in C, can also be written - through the keyboard - in any of the above three languages?
I am assuming that the three languages in the above list, are creations of chip manufacturers. Like INTEL, etc. Thanks.
I just want to examine, by posting questions related to source and target languages wrt compiling. I'm trying to build up a sort of vision of understanding. As it stands I see a human at a keyboard typing, in a very structured language (in the English), source code, (fed to the compiler software) which code is a function of the skill & knowledge of the programmer. He/she is writing (say) in C. The software produces an executable file, to be run on a machine that executes instructions, here, I mean the instructions contained in the executable file.
OK, as far as I know, a human (as oppossed to some language construction or translation by machine -, at the keyboard - can also write:
* assembly language
* object code
* machine code
I think machine code is object code, not entirely sure.
I'm assuming that any executable program made by writing in C, using compiler software, can also be made by writing in any of the above three languages (Are they all languages, I ask).
Questions:
Regarding all three languages above:
#1: Is the guy writing (possibly compiler guy) using compiler software?
#2: Is my assumption correct, that any executable file created, written in C, can also be written - through the keyboard - in any of the above three languages?
I am assuming that the three languages in the above list, are creations of chip manufacturers. Like INTEL, etc. Thanks.