logoalt Hacker News

kaashif • yesterday at 4:39 PM • 3 replies • view on HN

If, all else equal, a program is faster, then it's objectively better. You can even achieve the old level of speed by running the new program and sleeping!

In this specific case, there are other tradeoffs, which the person you are replying to did not talk about.

The "all else equal" part of what I said is, pardon my slop, load-bearing.


Replies

ktimespi • yesterday at 6:11 PM

> If, all else equal, a program is faster

This is the assumption that makes the original comment valid, that's what caaqil is trying to point out. If you're making a program faster by introducing hacks, then it's not necessarily better anymore

h4ch1 • yesterday at 6:05 PM

I don't really understand why the parent is being downvoted so much (the condescending tone sure, i get that) but your program can be faster while not fully adhering to the spec but that doesn't make it objectively better.

I keep seeing this sort of pattern with a lot of Rust rewrites, which are started in good faith, but just the tag of Rust and 10x faster shouldn't be the only metric on which we judge it. Correctness and adherence to the specification is also highly important.

➕ show 1 reply
caaqil • yesterday at 6:53 PM

> If, all else equal

If P=NP, I can sell you a timeshare in the newly furnished Mars colony and have you dancing with Princess Diana in the evening.

➕ show 1 reply