5 ms·
> Where do you think modern best practices came from? They're what came out of people finding out, by experience, what works and what doesn't. Definitely. But
by mcphage 12y ago
> Where do you think modern best practices came from? They're what came out of people finding out, by experience, what works and what doesn't.
Definitely. But I think this is a pretty clear example of what doesn't work. "What, make a change? Sorry, nobody can figure out how to do that." So yay for Mel for doing what people thought couldn't be done, but let's never do it again.
- kps 12y agoAccording to Gordon Bell's Computer Structures: Reading and Examples, the best-case memory access time of the LGP-30 was 2.34 milliseconds†. Most instructions required two memory accesses (the instruction itself, and an operand), which gives you around 200 instructions per second. The machine had only two registers: the accumulator, and the program counter. The only place you could use a pointer was in the address field of an instruction. In order to increment a pointer, you would load an instruction into the accumulator, add to it, and store it back. Best case, you could increment 67 pointers per second. Worst case, nine. Mel's job, in this instance, was not to write beautiful maintainable code. It was to write a demo that would sell the machine to potential customers, rather than boring them to death. † http://research.microsoft.com/en-us/um/people/gbell/computer_structures__readings_and_examples/00000237.htm http://research.microsoft.com/en-us/um/people/gbell/computer...
- mikeash 12y agoWhy do you say this? I mean, it's true, but do you think there are people who disagree, who think that writing that kind of code on a modern computer is a good idea, and further that they are participating in this discussion? I find this reaction confusing. Nobody is holding Mel up as an example for us to emulate in the specifics of how he worked. It's like telling the story of Tex Johnson doing a barrel roll in the 707 prototype filled with VIPs, and someone comes along and interrupts with, "I'm surprised that people react positively. Doing clever tricks like these is NOT what a good pilot is supposed to do." He'd be right; airline pilots shouldn't be doing barrel rolls. But it's a pointless thing to say, because nobody is telling that story to convince airline pilots that they should be doing barrel rolls.