3 ms·
> There is no such thing as software entropy - bits are bits, and the code doesn't decay with time. The article contains some thought that disagrees: > To
by steveklabnik 12y ago
> There is no such thing as software entropy - bits are bits, and the code doesn't decay with time.
The article contains some thought that disagrees:
> To program any more was pointless. My programs would never live as long
> as [Kafka’s] The Trial. A computer will never live as long as The Trial.
> … What if Amerika was only written for 32-bit Power PC? Can an unfinished
> program be reconstructed? Can I write a program and go, “Ah, well, you
> get the gist of it.” … But no. It wasn’t written for 32-bit Power PC. It
> was written for eyes.
See, The Trial was written on a platform that's been around quite a while: German. And it was ported to other, fairly stable platforms, like English.
However, if you write some code from the 32-bit PPC architecture, the vast majority of 'readers' possible for your code is very, very small. And dwindling by the day. Nothing you can do! Other than keep working on the code, porting it to the latest version of the OS, architecture, platform, API version, or whatever.
- tormeh 12y agoYou can write it in C. Bloody thing is like a particularly disgusting cockroach. I bet people can still read it in way too many years, to the extent that C can be read.
- steveklabnik 12y agoEven in C, it's not insta-portable. In the quote author's case, the UI framework was entirely deprecated, basically requiring a large re-write to use the new API, to keep the same functionality. If you wrote some C code that ran on Mac OS 9, for example, you'd eventually be forced to upgrade, because eventually, there are no computers running OS 9 anymore.
- derefr 12y agoGary Bernhardt's "The Birth and Death of Javascript"[1] is a rebuttal to this, I think. Effectively, imagine that a compiler, put in static-compilation mode, would link everything required to run a piece of code (the relevant windowing toolkit, all the system libraries, copies of any OS binaries the code spawns, copies of any OS binaries the code sends messages to over an IPC bus, etc.) into something resembling a Docker container, or a Unikernel VM image. Imagine, additionally, that all this then gets translated into some standard bytecode for a high-level abstract platform target that has things like graphics and networking primitives—say, asm.js. Now everything can live as long as something still executes that bytecode. [1] https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript https://www.destroyallsoftware.com/talks/the-birth-and-death...
- steveklabnik 12y agoThis will be really cool in the future, someday. But it's a sci-fi like talk for a reason. (and funny enough, when I saw him give this talk, the above quoted situation is exactly what I thought of...)
- derefr 12y agoMaybe it's unrealizable at the moment for x86 code. On the other hand, for random digraphs of arcade-game microcontrollers, JSMESS is doing pretty well at achieving this. :)
- jshen 12y agoLanguage changes dramatically over time. Read English from 1000 years ago! There is a great example in "The Language Instinct" which shows a writing in English from 4 different periods in time. The oldest will make non sense to modern English speakers.
- steveklabnik 12y agoThat's why I said 'fairly' stable. Compared to the length of time it takes software to change, languages are effectively immutable ;)
- jshen 12y agoyou have a strange definition of immutable. Language is changing rather constantly. Take an 80 year old and have them listen to a conversation between 16 year olds. I bet there are a bunch of words they don't know the meaning of.
- steveklabnik 12y agoIn this analogy, you're talking about PPC specific assembly code, and I'm talking about C. I mean, yes, this is fuzzy. It's hard to even nail down what "English" _is_, for things like what you're saying. The broader point is that computer languages have a much smaller period of time where their particular language is spoken than human languages. We'll see if that changes in the future, but I doubt it.