Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

TTF Idiocy

Name: Cudder !cXCudderUE 2017-10-07 4:15

At first glance TTF looks like a reasonable format --- you can just read the various tables into memory and they'll line up nicely with their structure definitions...

...until you realise that all the fields are in big (i.e. backwards) endian, so you have to manually swap all the fucking bytes!

Name: Anonymous 2017-10-07 20:22

Only big endian arranges binary, decimal, and string in the same order. One thousand two hundred thirty-four is 1234, not 4321 or 3412. Chinese numerals and Roman numerals are big endian too. Little endian isn't even reversing bits, it reverses octets within a word, chopping up the bits.

Name: Anonymous 2017-10-08 14:12

>>3
Big endian: The same for every system, consistent
Little endian: It depends on the size of the byte, inconstant

Name: Anonymous 2017-10-08 14:14

>>1
If it used shit endian instead then it would only make sense for JA86. Since it uses sane endian it makes sense for every other system in the world.

Name: !Ps1ivhrO6w 2017-10-08 14:31

map and reduce

Name: Anonymous 2017-10-08 14:32

fold

Name: !Ps1ivhrO6w 2017-10-08 15:54

>>8
whereas you fold left and they fold right

you've gotta earn yourself some trouble

Name: !Ps1ivhrO6w 2017-10-08 17:12

the stability is brought by optimization in respect to time and expected architecture while at the cost of some spatial complexity to new implementers

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List