Building A Modern Computer From First Principles - Chap. 1 - Boolean Logic - by Nathan Brickett - Medium
Building A Modern Computer From First Principles - Chap. 1 - Boolean Logic - by Nathan Brickett - Medium
Get unlimited access to the best of Medium for less than $1/week. Become a member
Lately I’ve been reading the book Building a Modern Computer from First
Principles and I thought it would be good to reiterate some of the things I
have learned so far. If you are interested in a broad overview of how
computers work from the ground up, I highly recommend checking out this
resource.
In the preface of this book, they say that many computer science students
are missing the forest for the trees. What they mean is that the most
fundamental ideas and techniques in computer science are now hidden
under many layers of obscure interfaces and proprietary implementations.
And this is very true, most of us come into this field starting to learn
computer science using these high level languages and we begin to forget
that hardware and software are tightly interrelated through a hidden web of
https://natey37.medium.com/building-a-modern-computer-from-first-principles-chap-1-boolean-logic-e8d08641f2f0 1/8
12/15/23, 9:15 PM Building a Modern Computer from First Principles — Chap. 1 : Boolean Logic | by nathan brickett | Medium
Every single digital device that you or I use (computer, cellphone, router, tv,
etc., etc…. The list goes on and on) is based on a set of chips designed to
store and process information. Although these chips may come from from
different companies and they may come in different sizes or forms, they are
all made from the same fundamental building blocks: elementary logic gates
(Consider the comparison to biology; We can think of our DNA as being the
building blocks of humans, much like we can think of these logic gates as
being the building blocks of computers. DNA and logic gates are the
roadmap to the physical representation of what we actually see). These logic
gates can be physically implemented in many different materials and
fabrication technologies, but their logical behavior is consistent across all
computers.
https://natey37.medium.com/building-a-modern-computer-from-first-principles-chap-1-boolean-logic-e8d08641f2f0 2/8
12/15/23, 9:15 PM Building a Modern Computer from First Principles — Chap. 1 : Boolean Logic | by nathan brickett | Medium
The most simple gate logic is open/closed. It’s what we know as binary. A
gate is a physical device that implements
Open in appa Boolean function. Just like how
https://natey37.medium.com/building-a-modern-computer-from-first-principles-chap-1-boolean-logic-e8d08641f2f0 3/8
12/15/23, 9:15 PM Building a Modern Computer from First Principles — Chap. 1 : Boolean Logic | by nathan brickett | Medium
https://natey37.medium.com/building-a-modern-computer-from-first-principles-chap-1-boolean-logic-e8d08641f2f0 4/8
12/15/23, 9:15 PM Building a Modern Computer from First Principles — Chap. 1 : Boolean Logic | by nathan brickett | Medium
19 Followers
-- --
https://natey37.medium.com/building-a-modern-computer-from-first-principles-chap-1-boolean-logic-e8d08641f2f0 5/8
12/15/23, 9:15 PM Building a Modern Computer from First Principles — Chap. 1 : Boolean Logic | by nathan brickett | Medium
--
-- 65 -- 243
https://natey37.medium.com/building-a-modern-computer-from-first-principles-chap-1-boolean-logic-e8d08641f2f0 6/8
12/15/23, 9:15 PM Building a Modern Computer from First Principles — Chap. 1 : Boolean Logic | by nathan brickett | Medium
Lists
Staff Picks
535 stories · 530 saves
-- 27 -- 121
https://natey37.medium.com/building-a-modern-computer-from-first-principles-chap-1-boolean-logic-e8d08641f2f0 7/8
12/15/23, 9:15 PM Building a Modern Computer from First Principles — Chap. 1 : Boolean Logic | by nathan brickett | Medium
-- 127 -- 634
https://natey37.medium.com/building-a-modern-computer-from-first-principles-chap-1-boolean-logic-e8d08641f2f0 8/8