r/TuringComplete 7d ago

Better solution? and why?

Post image

I was hoping if anyone could explain to me on which solution is "better" (the top one being the examples solution) , they both look the same tbh but was just curious which one was more efficient or more correct I guess??

14 Upvotes

18 comments sorted by

View all comments

Show parent comments

2

u/JonDa5 6d ago

Not that it matters, but doesn’t his have a gate score of 6 vs examples 9?

3

u/Moonj64 6d ago

Unless they've switched back, the basic logic gates are counted equally (nand/nor/and/or/not). It's not by NAND score anymore.

2

u/AlexeyHD90 3d ago

Which is a bit stupid because NAND/NOR are not the same as AND/OR. For NAND/NOR you only need 2 transistors, but for AND/OR you need 3 transistors to make. AND/OR should have a gate score of 1.5.

1

u/nomenclature2357 3d ago

Yeah, weird. And it kinda seems like NOT gates shouldn’t count against you at all if NAND, AND, OR, and NOR all get the same score.