News for hackers. Stuff that matters.
Re:I wasted weeks hand optimizing assembly because I benchma... by fifilura on Friday July 25, 2025 @08:19AM (#44682299)
You'd be better off with some stupid code that junior devs (or Grug brained senior devs) could easily understand for the 0.1% cases.
Re:I wasted weeks hand optimizing assembly because I benchma... by smcin on Friday July 25, 2025 @08:31AM (#44682390)
(In that specific case, with that specific very skewed data distribution, yes. But not necessarily in the general case. So "they" would be better off with that solution, but not a generalized "you").
Re:I wasted weeks hand optimizing assembly because I benchma... by username135 on Friday July 25, 2025 @08:38AM (#44682453)
Then how do they learn
Re:I wasted weeks hand optimizing assembly because I benchma... by mannykannot on Friday July 25, 2025 @10:53AM (#44683849)
My guess is that they would be more likely to “fix” and “improve” Ken’s algorithm than understand it (Jon Bentley mentioned, in passing, a similar case where this was the outcome.)
Re:I wasted weeks hand optimizing assembly because I benchma... by chii on Friday July 25, 2025 @10:33AM (#44683583)
They can learn finite automata from computer science text books.
Re:I wasted weeks hand optimizing assembly because I benchma... by username135 on Sunday July 27, 2025 @08:58AM (#44701017)
True, i suppose, but theres simply no substitute for contextual, on the job learning. imo
Re:I wasted weeks hand optimizing assembly because I benchma... by fifilura on Monday August 04, 2025 @09:10AM (#44785267)
Oh! "Educating the newbies/grunts" is the reason for #$#@&#?

I'd say that an org has a limited number of pennies to spend on non-trivial code. Let's spend them wisely.

Re:I wasted weeks hand optimizing assembly because I benchma... by account42 on Friday August 01, 2025 @01:28PM (#44759733)
That's exactly how you get today's abysmally slow software though, because if you chain enough components you end up running into 1% cases all the time.