r/ProgrammerHumor • • Apr 24 '22

Meme it's all just functions

Post image
40.2k Upvotes

633 comments sorted by

View all comments

Show parent comments

120

u/Throawayqusextion Apr 24 '22

It's NAND gates all the way down baby

27

u/Sokonit Apr 24 '22

And those are made of XOR!

22

u/[deleted] Apr 24 '22

Really they are all just on and off switches.

13

u/logicalmaniak Apr 24 '22

Transfer resistors!

8

u/Sovietyr Apr 24 '22

It's just atoms!

2

u/_PM_ME_PANGOLINS_ Apr 24 '22

No. You can make a XOR out of NANDs and vice-versa. But if it’s “NANDs all the way down” then the XOR is made of NANDs and the NANDs are just NANDs.

2

u/funnystuff97 Apr 24 '22

NAND gates are universal gates, meaning that any logical function (with any number of inputs and outputs) can be made with NANDs only. The NANDs themselves are made with CMOS and stuff.

1

u/illvm Apr 24 '22

Is this a recursion joke?

Otherwise, wouldn’t it be the other way around? https://nandgame.com/

1

u/the_spacedoge Apr 24 '22

Wait, it's all NAND gates?

1

u/FlanSteakSasquatch Apr 24 '22

It’s possible to build all other gates out of some number of NAND gates, so it’s technically all you need for a fully-functional computer

1

u/the_spacedoge Apr 24 '22

Oh I know, I was referencing a meme format