wieson@lemmy.worldtoAsklemmy@lemmy.ml•What's A Piece Of Software You Could Never Do Without?
111·
2 months agoNAND gate
NAND gate
It’s a programming joke. If you declare variables or set a value to a space in the storage, this space is blocked even after the programme is done using that variable. So to write a programme with efficient use of storage, you have to free the storage space after you are using it.
Many programming languages use a routine called “garbage collector” to free unused storage space.
So, if you don’t want to be a garbage collector, you have to assign storage space manually.
It’s just a joke. NAND isn’t a software, it’s a bit operation (Not And) so 1001 NAND 1010 = 0111
It’s technically a “piece” of a software and is necessary for any addition and more.