News for hackers. Stuff that matters.
Re:No nuances, just buggy code (was: related to Spinlock imp... by kelnos on Sunday January 05, 2020 @04:48AM (#21960531)
> In CS "garbage" has a bit different sounding, like in "garbage collector".

It's a bit disingenuous to suggest that Torvalds meant it in that sense, though. He very obviously meant it in the sense of a piece of trash that should be thrown into a trash bin.

Re:No nuances, just buggy code (was: related to Spinlock imp... by SergeAx on Sunday January 05, 2020 @05:15AM (#21960597)
Or a piece of code that doesn't do anything useful or meaningful and may be skipped by compiler as well.
Re:No nuances, just buggy code (was: related to Spinlock imp... by loopz on Sunday January 05, 2020 @09:42AM (#21961403)
Compiler warning: Sourcecode classified as "garbage". Replaced with NOP for user protection.
Re:No nuances, just buggy code (was: related to Spinlock imp... by clarry on Sunday January 05, 2020 @04:43PM (#21964346)
Garbage code sounds like a fine new class of undefined behavior to add to the next C standard. You just need to teach ubsan to understand it.
Re:No nuances, just buggy code (was: related to Spinlock imp... by kelnos on Monday January 13, 2020 @07:26PM (#22040416)
No, he very clearly meant the definition I suggested.

(Also I've never heard of dead code referred to as "garbage code".)