The fact that << and >> are big-endian is the "Benjamin Franklin mixing up the direction of current" of programming.
-
-
Replying to @lukechampine
Why would they be little-endian? It makes sense for familiarity, because we write numbers large-to-small too. Binary data is transmitted and usually displayed big-endian too. The arrows also make it clear in which direction the bits are being shifted.
1 reply 0 retweets 0 likes -
Replying to @Fornax96
Most binary processing is little-endian these days, because most processors are little-endian. Some network protocols use big, but I think that's shifting (Sia uses little-endian, as do protocol buffers, Cap'n Proto, etc.). I would prefer it to be displayed little-endian too.
1 reply 0 retweets 0 likes
Working with binary is sufficiently different from everyday base-10 math that I don't see familiarity as an advantage -- better to start from a clean slate.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.