Hacker News new | ask | show | jobs
by txutxu 4577 days ago
Something is wrong with this statement:

    "Scala is great for performance, but quite bad at resource usage"
Maybe it's directly related to the next statement:

    "No-one in the core GOV.UK team had a deep knowledge of Scala, and particularly how the old router worked"
But the first statement, literally, does not make sense on its own.
2 comments

> and particularly how the old router worked

Oh, then it's OK. It's always reasonable and a safe bet to rewrite something instead of understanding how something works, because after all, your predecessors were a dumb bunch and you (using Go! how cool is that!?) obviously know much more.

> But the first statement, literally, does not make sense on its own.

Why? There are other resources than CPU time, e.g. memory.

"Computer performance is characterized by the amount of useful work accomplished by a computer system compared to the time and resources used." --wikipedia

Is there a different definition I'm missing? I think, a car can be "fast" and take too much fuel, but (in my book) a programming language cannot be "great for performance" while being bad at resource usage.