Name: Anonymous 2017-03-01 2:39
As explained in the high-level goals, to achieve a Minimum Viable Product, the initial focus is on C/C++.
quake3 has been compiling c code into portable mods since 18 years ago. they could have just used that.
As explained in the high-level goals, to achieve a Minimum Viable Product, the initial focus is on C/C++.
they could have just used that.They wanted it to be 'open' (read: human-readable but with unclear licensing) and 'lispy', though.
Little endian is far more intuitive in that for example a pointer to a larger integer will still be valid if used as a pointer to a smaller integer so long as the value is less than the max range of the smaller integer type. With big endian it just becomes zero.
I feel that the number "1488" should actually be written "8841", because that's how we write words: the first letter comes first.Do you pronounce that as "eight, eighty, four hundred, one thousand"?
If I want to make a word longer I can keep sticking letters to the end of it without changing the meaning of the preceding lettersYou write and pronounce words with the most significant part first. Significant, significance, signify. That's big endian.
the most significant letter comes firstI think it's hard to say which letters of a word are most "significant". If you grab a pen to write with but someone appends 'is' to it that's a pretty significant change for you. The order makes sense because you pronounce the "pen" part of the word first, not because it's most significant.
decimal numbersI would propose the order be switched for decimal numbers too, if anything to fit with the order of my proposed little endian integers. You would still have to parse all the way to the decimal point before gaining any useable information, but this is already the case with the current system.
So it's more intuitive because it makes more unintentional bugs?No, it's more intuitive just because it makes since that if I have 5 and then I disregard some empty space I still have 5. If endianess is regularly helping you detect pointer casting errors then you are already screwed.
Do you pronounce that as "eight, eighty, four hundred, one thousand"?I'm arguing that maybe we should.
I think it's hard to say which letters of a word are most "significant"The answer seems obvious to me: in lexicographic order, the leftmost letters are compared first, ergo they are the most significant.