News for hackers. Stuff that matters.
Re:Data structures and algorithms I actually used while work... by WalterBright on Wednesday July 15, 2020 @05:28AM (#23842964)
At Caltech, we'd call that "brute force and ignorance" which is often the best solution.

For example, Enzo Ferrari once said that the secret to better performance is more horsepower.

Re:Data structures and algorithms I actually used while work... by karolist on Wednesday July 15, 2020 @05:56AM (#23843134)
The actual quote was something like "aerodynamics are for people who can't build engines" which proves your point a bit better.
Re:Data structures and algorithms I actually used while work... by WalterBright on Wednesday July 15, 2020 @06:13AM (#23843248)
It's actually a bit ironic, because I consider Ferrari to build elegant cars while my old V8 Dodge is a triumph of brute force and ignorance. They're both great cars at opposite ends of the spectrum :-)

A variation on the sentiment I heard in a movie: "turbochargers are for wussies, real cars have cubic inches!"

Re:Data structures and algorithms I actually used while work... by dolmen on Wednesday July 15, 2020 @06:57AM (#23843531)
Elegant doesn't always go with optimized aerodynamics.
Re:Data structures and algorithms I actually used while work... by eru on Wednesday July 15, 2020 @06:51AM (#23843489)
Well, I was using less horsepower.

The problem in the previous solution was that it took a while to keep the fancy datastructures updated. (It's a globally replicated distributed system..)