Magic Numbers

# · 🔥 177 · 💬 62 · 10 days ago · exple.tive.org · todsacerdoti · 📷
1500 bytes is a bit out there as numbers go, or at least it seems that way if you touch computers for a living. It's not a power of two or anywhere close, it's suspiciously base-ten-round, and computers don't care all that much about base ten, so how did we get here? Now, "We need to pick just the right magic number here so we can take data straight off the wire and blow it directly into the memory of this specific machine over there" is to any modern sensibilities insane. Back when the idea of network security didn't exist because computers barely existed and networks mostly didn't exist and unvetted and unsanctioned access to those networks definitely didn't exist, I bet it seemed like a very reasonable tradeoff. It really is amazing how many of the things we sort of ambiently accept as standards today, if we even realize we're making that decision at all, are what they are only because some now-esoteric property of the now-esoteric hardware on which the tech was first invented let the inventors save a few bucks.
Magic Numbers



Send Feedback | WebAssembly Version (beta)