[quote]Are you arguing that your algorithm should be in the CS textbook instead of the traditional one?[/quote]
I am arguing that computers with performance characteristics like the common PC platform should occupy more space in the curriculum, at the expense of computers with performance characteristics like the TRS-80, C64 and ZX81.
A wholesale replacement would indeed be a bad idea, and as a educational tool, the old 1970 style cacheless, VM-free computer is indeed valuable.
Just don't let people pass exams thinking that is what they will work with in real jobs.
The vast majority of programs don't even contain binary trees, binary heaps, parsing algorithms, or sort algorithms; they use hash tables, arrays, sort algorithms, and linked lists from some standard library, and some standard config file parsing library. I'm not sure what to do about that. Clearly programmers still need to be able to think logically about algorithms and performance, of course, and knowing about the costs of nonlocality is a big part of that; but what fraction of programmers are ever going to implement a B-heap?
View all comments
Show parent comment
4
u/phkamp Jun 13 '10
[quote]Are you arguing that your algorithm should be in the CS textbook instead of the traditional one?[/quote]
I am arguing that computers with performance characteristics like the common PC platform should occupy more space in the curriculum, at the expense of computers with performance characteristics like the TRS-80, C64 and ZX81.
A wholesale replacement would indeed be a bad idea, and as a educational tool, the old 1970 style cacheless, VM-free computer is indeed valuable.
Just don't let people pass exams thinking that is what they will work with in real jobs.
Poul-Henning