#endianness — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #endianness, aggregated by home.social.
-
What kind of mishegus is this?
"There are ARM processors that have mixed-endian floating-point representation for double-precision numbers: each of the two 32-bit words is stored as little-endian, but the most significant word is stored first." -
What kind of mishegus is this?
"There are ARM processors that have mixed-endian floating-point representation for double-precision numbers: each of the two 32-bit words is stored as little-endian, but the most significant word is stored first." -
What kind of mishegus is this?
"There are ARM processors that have mixed-endian floating-point representation for double-precision numbers: each of the two 32-bit words is stored as little-endian, but the most significant word is stored first." -
What kind of mishegus is this?
"There are ARM processors that have mixed-endian floating-point representation for double-precision numbers: each of the two 32-bit words is stored as little-endian, but the most significant word is stored first." -
What kind of mishegus is this?
"There are ARM processors that have mixed-endian floating-point representation for double-precision numbers: each of the two 32-bit words is stored as little-endian, but the most significant word is stored first." -
@WestLawns Ah, a rehash of the old #endianness debate. Bring it on!
-
@WestLawns Ah, a rehash of the old #endianness debate. Bring it on!
-
@WestLawns Ah, a rehash of the old #endianness debate. Bring it on!
-
@WestLawns Ah, a rehash of the old #endianness debate. Bring it on!
-
@WestLawns Ah, a rehash of the old #endianness debate. Bring it on!
-
[Перевод] Переносимый код: Fighting the Lemmings
Сергей Каличев, старший разработчик, Angie Software Однажды, давным-давно, я наткнулся на одну хорошую статью по разработке переносимого кода и решил её перевести. Когда же это было... ё-моё, в 2008 году, 17 лет назад! Обалдеть, как время летит. Статья называлась "Fighting the Lemmings", автор Martin Husemann. Выложил перевод на LOR . С тех пор много воды утекло и, когда я попытался поискать статью в Интернете, то обнаружил, что ни оригинальной статьи, ни перевода, найти практически невозможно. Перевод ещё сохранился в глубоких закромах OpenNet , а оригинал только в архиве Интернета . Ссылки на PDF-ки тоже протухли и больше не работают. Обидно, это ведь такая нетленка для системщиков. Понятно, что переносимость уже сто раз пережёвана в других статьях и книгах, но тут всё было сконцентрировано и написано доходчиво. При этом актуальность до сих пор не потеряна. Ну а что, собственно, кардинально поменялось в разработке переносимого кода на C с тех пор? Если не обращать внимание на упоминания некоторых архитектур и ОС, которые сейчас, да и во времена перевода, звучат, как придания старины глубокой, то в остальном, обо всех особенностях разработки переносимого кода, описанных в статье, надо помнить и сегодня. Выкладываю текст, как он есть, без каких-либо современных правок. Для тех, кому удобнее читать в PDF, вот ссылки: PDF оригинальной статьи PDF перевода А теперь сама статья.
https://habr.com/ru/articles/890530/
#C #code #portability #переносимость #unix #linux #endianness #align #выравнивание #lemmings
-
[Перевод] Переносимый код: Fighting the Lemmings
Сергей Каличев, старший разработчик, Angie Software Однажды, давным-давно, я наткнулся на одну хорошую статью по разработке переносимого кода и решил её перевести. Когда же это было... ё-моё, в 2008 году, 17 лет назад! Обалдеть, как время летит. Статья называлась "Fighting the Lemmings", автор Martin Husemann. Выложил перевод на LOR . С тех пор много воды утекло и, когда я попытался поискать статью в Интернете, то обнаружил, что ни оригинальной статьи, ни перевода, найти практически невозможно. Перевод ещё сохранился в глубоких закромах OpenNet , а оригинал только в архиве Интернета . Ссылки на PDF-ки тоже протухли и больше не работают. Обидно, это ведь такая нетленка для системщиков. Понятно, что переносимость уже сто раз пережёвана в других статьях и книгах, но тут всё было сконцентрировано и написано доходчиво. При этом актуальность до сих пор не потеряна. Ну а что, собственно, кардинально поменялось в разработке переносимого кода на C с тех пор? Если не обращать внимание на упоминания некоторых архитектур и ОС, которые сейчас, да и во времена перевода, звучат, как придания старины глубокой, то в остальном, обо всех особенностях разработки переносимого кода, описанных в статье, надо помнить и сегодня. Выкладываю текст, как он есть, без каких-либо современных правок. Для тех, кому удобнее читать в PDF, вот ссылки: PDF оригинальной статьи PDF перевода А теперь сама статья.
https://habr.com/ru/articles/890530/
#C #code #portability #переносимость #unix #linux #endianness #align #выравнивание #lemmings
-
[Перевод] Переносимый код: Fighting the Lemmings
Сергей Каличев, старший разработчик, Angie Software Однажды, давным-давно, я наткнулся на одну хорошую статью по разработке переносимого кода и решил её перевести. Когда же это было... ё-моё, в 2008 году, 17 лет назад! Обалдеть, как время летит. Статья называлась "Fighting the Lemmings", автор Martin Husemann. Выложил перевод на LOR . С тех пор много воды утекло и, когда я попытался поискать статью в Интернете, то обнаружил, что ни оригинальной статьи, ни перевода, найти практически невозможно. Перевод ещё сохранился в глубоких закромах OpenNet , а оригинал только в архиве Интернета . Ссылки на PDF-ки тоже протухли и больше не работают. Обидно, это ведь такая нетленка для системщиков. Понятно, что переносимость уже сто раз пережёвана в других статьях и книгах, но тут всё было сконцентрировано и написано доходчиво. При этом актуальность до сих пор не потеряна. Ну а что, собственно, кардинально поменялось в разработке переносимого кода на C с тех пор? Если не обращать внимание на упоминания некоторых архитектур и ОС, которые сейчас, да и во времена перевода, звучат, как придания старины глубокой, то в остальном, обо всех особенностях разработки переносимого кода, описанных в статье, надо помнить и сегодня. Выкладываю текст, как он есть, без каких-либо современных правок. Для тех, кому удобнее читать в PDF, вот ссылки: PDF оригинальной статьи PDF перевода А теперь сама статья.
https://habr.com/ru/articles/890530/
#C #code #portability #переносимость #unix #linux #endianness #align #выравнивание #lemmings
-
[Перевод] Переносимый код: Fighting the Lemmings
Сергей Каличев, старший разработчик, Angie Software Однажды, давным-давно, я наткнулся на одну хорошую статью по разработке переносимого кода и решил её перевести. Когда же это было... ё-моё, в 2008 году, 17 лет назад! Обалдеть, как время летит. Статья называлась "Fighting the Lemmings", автор Martin Husemann. Выложил перевод на LOR . С тех пор много воды утекло и, когда я попытался поискать статью в Интернете, то обнаружил, что ни оригинальной статьи, ни перевода, найти практически невозможно. Перевод ещё сохранился в глубоких закромах OpenNet , а оригинал только в архиве Интернета . Ссылки на PDF-ки тоже протухли и больше не работают. Обидно, это ведь такая нетленка для системщиков. Понятно, что переносимость уже сто раз пережёвана в других статьях и книгах, но тут всё было сконцентрировано и написано доходчиво. При этом актуальность до сих пор не потеряна. Ну а что, собственно, кардинально поменялось в разработке переносимого кода на C с тех пор? Если не обращать внимание на упоминания некоторых архитектур и ОС, которые сейчас, да и во времена перевода, звучат, как придания старины глубокой, то в остальном, обо всех особенностях разработки переносимого кода, описанных в статье, надо помнить и сегодня. Выкладываю текст, как он есть, без каких-либо современных правок. Для тех, кому удобнее читать в PDF, вот ссылки: PDF оригинальной статьи PDF перевода А теперь сама статья.
https://habr.com/ru/articles/890530/
#C #code #portability #переносимость #unix #linux #endianness #align #выравнивание #lemmings
-
Riding in this car across the countryside in Oman, I just had an insight that is a new argument in the little-endian / big-endian discussion:
Arabic numerals are little-endian!
A question I sometimes ask myself: why are our written numbers big-endian? That is, why start with the larger valued numbers on the left?
I confess, network byte order notwithstanding, that little-endian seems more natural for information processing because, if the number is written in a decimal-coded array, the array index corresponds to the power-of-10 (starting with zero, as God and Dennis Ritchie intended).
Our numbering system is sometimes called Arabic numerals, and this is because base-10 numbers were invented in Arabia.
What direction is Arabic script? Right to left! In the context of western script, our numbers are written backwards!
-
Riding in this car across the countryside in Oman, I just had an insight that is a new argument in the little-endian / big-endian discussion:
Arabic numerals are little-endian!
A question I sometimes ask myself: why are our written numbers big-endian? That is, why start with the larger valued numbers on the left?
I confess, network byte order notwithstanding, that little-endian seems more natural for information processing because, if the number is written in a decimal-coded array, the array index corresponds to the power-of-10 (starting with zero, as God and Dennis Ritchie intended).
Our numbering system is sometimes called Arabic numerals, and this is because base-10 numbers were invented in Arabia.
What direction is Arabic script? Right to left! In the context of western script, our numbers are written backwards!
-
Riding in this car across the countryside in Oman, I just had an insight that is a new argument in the little-endian / big-endian discussion:
Arabic numerals are little-endian!
A question I sometimes ask myself: why are our written numbers big-endian? That is, why start with the larger valued numbers on the left?
I confess, network byte order notwithstanding, that little-endian seems more natural for information processing because, if the number is written in a decimal-coded array, the array index corresponds to the power-of-10 (starting with zero, as God and Dennis Ritchie intended).
Our numbering system is sometimes called Arabic numerals, and this is because base-10 numbers were invented in Arabia.
What direction is Arabic script? Right to left! In the context of western script, our numbers are written backwards!
-
Riding in this car across the countryside in Oman, I just had an insight that is a new argument in the little-endian / big-endian discussion:
Arabic numerals are little-endian!
A question I sometimes ask myself: why are our written numbers big-endian? That is, why start with the larger valued numbers on the left?
I confess, network byte order notwithstanding, that little-endian seems more natural for information processing because, if the number is written in a decimal-coded array, the array index corresponds to the power-of-10 (starting with zero, as God and Dennis Ritchie intended).
Our numbering system is sometimes called Arabic numerals, and this is because base-10 numbers were invented in Arabia.
What direction is Arabic script? Right to left! In the context of western script, our numbers are written backwards!
-
Riding in this car across the countryside in Oman, I just had an insight that is a new argument in the little-endian / big-endian discussion:
Arabic numerals are little-endian!
A question I sometimes ask myself: why are our written numbers big-endian? That is, why start with the larger valued numbers on the left?
I confess, network byte order notwithstanding, that little-endian seems more natural for information processing because, if the number is written in a decimal-coded array, the array index corresponds to the power-of-10 (starting with zero, as God and Dennis Ritchie intended).
Our numbering system is sometimes called Arabic numerals, and this is because base-10 numbers were invented in Arabia.
What direction is Arabic script? Right to left! In the context of western script, our numbers are written backwards!
-
Does anyone know if little-endian has any technical advantages? Big-endian machines are all but extinct these days (outside of IBM mainframes).
Or is is just a case of having to pick one and stick with it, like how all life on Earth is made out of L-chiral amino acids and D-chiral carbohydrates?
#bigendian #endianness #chirality #cpu #cpudesign -
Does anyone know if little-endian has any technical advantages? Big-endian machines are all but extinct these days (outside of IBM mainframes).
Or is is just a case of having to pick one and stick with it, like how all life on Earth is made out of L-chiral amino acids and D-chiral carbohydrates?
#bigendian #endianness #chirality #cpu #cpudesign -
Does anyone know if little-endian has any technical advantages? Big-endian machines are all but extinct these days (outside of IBM mainframes).
Or is is just a case of having to pick one and stick with it, like how all life on Earth is made out of L-chiral amino acids and D-chiral carbohydrates?
#bigendian #endianness #chirality #cpu #cpudesign -
Does anyone know if little-endian has any technical advantages? Big-endian machines are all but extinct these days (outside of IBM mainframes).
Or is is just a case of having to pick one and stick with it, like how all life on Earth is made out of L-chiral amino acids and D-chiral carbohydrates?
#bigendian #endianness #chirality #cpu #cpudesign -
Does anyone know if little-endian has any technical advantages? Big-endian machines are all but extinct these days (outside of IBM mainframes).
Or is is just a case of having to pick one and stick with it, like how all life on Earth is made out of L-chiral amino acids and D-chiral carbohydrates?
#bigendian #endianness #chirality #cpu #cpudesign -
CW: Computing, binary data
Address spaces are in ascending order, but for writing numbers, place value is in *descending* order. In my opinion, the little-endian byte order gets it technically right by having a consistent and logical order, just ascending. The big-endian byte order mixes the two, with addresses increasing but byte "place-value" descending.
-
CW: Computing, binary data
Address spaces are in ascending order, but for writing numbers, place value is in *descending* order. In my opinion, the little-endian byte order gets it technically right by having a consistent and logical order, just ascending. The big-endian byte order mixes the two, with addresses increasing but byte "place-value" descending.
-
Don’t Let Endianness Flip You Around - Most of the processor architectures which we come into contact with today are little-endian system... - https://hackaday.com/2020/08/04/dont-let-endianness-flip-you-around/ #softwaredevelopment #compilerintrinsics #hackadaycolumns #endianness
-
Regarding #endianness, I can never remember if little-endian means high-order bits at lower address or low-order bits at lower address. I also can never remember which one of little-endian or big-endian is normal and which one only happens if you're looking at hardware from 30 years ago.
Anyone got a good mnemonic?