August 17, 2019
C++ compilation: Fifty shades of Mojibake
Interestingly, writing was initially invented as a way to keep track of numbers. Words came much later.
Computers are good at numbers. It’s the only thing they understand really. So text has to be represented as a sequence of numbers which are interpreted and ascribed meaning.
Code, in the presence of arbitrary identifiers and string literals as to be considered as text. In the context of C++, how is the text of our program interepreted and transcoded during compilation?
Read more