r/compsci 19h ago

NAND to Tetris Course approach

1 Upvotes

I recently started NAND to Tetris Course because I wanted to understand low level better. I started Unit one yesterday where you build logic gates. I have only watched videos to 1.4 HDL and started doing exercises. As a programmer with no formal training it has been hard to wrap my head around NAND (im getting there). The thing is i have built every component so far from only NAND gates to make them more intuitive. It has been time consuming to figure out how to do it but i find it fun. Is this stupid approach or does it rly matter if i use only NAND or logic gates that i have already made for building more complex logic gates for future exercises? I have been taking notes from every gate that i have built so it would be easy to switch later if needed. This is my MUX notes that i made before building it with HDL.

EDIT.

I built every logic gate up to DMUX from NANDs and normally both. Process how to get to NAND gates always involved OR, AND and NOT gates anyway when using boolean algebra. I built all other logic gates too but ditched NANDs. Didnt rly feel like writing any extra repetitive lines when busses were introduced. I was fun at start when it was a challange but became easy very fast. I still have my notes from all the elementary logic gates if I ever need a refresher. One table for simplest implementation with fewest gates (I could find) and another where i transform that to NANDs.


r/compsci 1h ago

Implementation of Google's MapReduce algorithm

Upvotes

Namaste! I'm interested in implementations of Google's MapReduce algorithm.

https://www.cs.princeton.edu/courses/archive/fall13/cos518/papers/mapreduce.pdf

Please let me know if you'd like to discuss this in more detail. Bahut-bahut dhanyavaad :).


r/compsci 19h ago

What is the best method to try and compress a string of integers/extremely low entropy binary stream?

Thumbnail
0 Upvotes

r/compsci 4h ago

MEIN PRODUKT hat gerade die BGL-, HDFS- und RE3-TT-Benchmarks im Blindversuch bestanden [offline]

Thumbnail
0 Upvotes

r/compsci 2h ago

In Memoriam: Richard E. Stearns (1936-2026)

Thumbnail cacm.acm.org
8 Upvotes