HN Academy

The best online courses of Hacker News.

Hacker News Comments on
Computer Architecture

Coursera · Princeton University · 1 HN points · 9 HN comments

HN Academy has aggregated all Hacker News stories and comments that mention Coursera's "Computer Architecture" from Princeton University.
Course Description

In this course, you will learn to design the computer architecture of complex modern microprocessors.

All the features of this course are available for free. It does not offer a certificate upon completion.

HN Academy Rankings
Provider Info
This course is offered by Princeton University on the Coursera platform.
HN Academy may receive a referral commission when you make purchases on sites after clicking through links on this page. Most courses are available for free with the option to purchase a completion certificate.
See also: all Reddit discussions that mention this course at

Hacker News Stories and Comments

All the comments and stories posted to Hacker News that reference this url.
>would like to become a computer engineer.

If you deliberately chose the phrase "computer engineer" to ask this question, are you saying the teen is interested in designing computer hardware instead of just software programming?

Just to be on the same page with terminology, Zach Star has short videos comparing "computer engineering" vs "computer science":

Therefore, if computer engineering is indeed the specialty, there are more detailed class videos such as hardware architecture from CMU:

Princeton has a similar computer architecture curriculum on Coursera:

It may also be worthwhile to look into Ben Eater
A teen who doesn't know much about a field won't be able to describe things concretely.
Hardware is their interest.
Arduino boards are a great on ramp to computer hardware and programming. Hides a lot of the really hard stuff, and has tons of examples online for how to make it work.

Ben Eater is a guy who's started selling kits for building an 8 bit computer from discrete chips on a breadboard. A whole kit is $300, which is a bit steep for a teenager, but you can buy it and complete it in pieces as you're able.

I also think the suggestion about connecting them with like minded peers is an excellent one. A local FIRST robotics group or a makerspace would be excellent as far as making those connections goes.

1) the video series on building an computer from scratch is fantastic. It's valuable information no matter where in the tech stack you wind up in (or even if you don't wind up in tech) but also having a deep knowledge of these systems will be of considerable value down the line, because we aren't training kids in hardware as much anymore.

2) If their interest is a bit higher in the stack (like robotics e.g.), and they don't mind getting in the weeds and asking for help in the community, I would target learning with a raspberry pi system. My preferred target is Nerves; it's a bit more bare-bones, and there aren't drivers for everything, but the community is fantastic (the elixir slack / nerves is the place to be), and it's easy to get to a point where you are dropped into an IDE and you can just code.

I got into electronics by building simple radios. There was a Ladybird Book [1] that started with a crystal set then added extra bits to it like a transistor amplifier. It was all built using a DIY breadboard, the components were connected together using screws with countersunk washers fastened into a piece of wood. There was a whole hobby electronics scene with several magazines that provided designs to build as well as local shops or mail-order to get components.

If I were a teenager now then a FPGA development board with plenty of LEDs and ports could be good.


Like, chip design or like robots?
Since HW is their interest, you might want to probe a little bit why they specifically chose "Computer Engineering" and not "Eletrical Engineering".

I know this is dating myself, but I faced the same question about 25 years ago and chose computer engineering because I knew that I wanted a blend of HW and SW. Many of my classmates who were more interested in HW chose electrical as their specialty. Comp provided more optionality, and there was a lot of overlap, but EEs got to understand the nuts and bolts of HW and especially choose from a wider array of VLSI chip design electives.

One caveat to that: The EE curriculum is a bit more math heavy. In my university, CompE would take Calc I and Calc II, but EE's needed to take Calc III. EE's also needed to take electromagnetics - very heavy on calculus. Some other engineering courses that tend to have calculus. If you want to get deep into HW, this may be a good thing.

If the student dislikes math somewhat, I would not recommend EE. If they really dislike math, I would not recommend CompE either ;-)

Did Calc1-3, E&M, ODEs, PDEs, LinAlg, Real Analysis as CompE.
Requirements can vary. The institution I went to did require a differential equations course after Calc III even for CompE students. And, yeah, it was painful.

Either way, I agree with you 100%; if the student doesn't like math, they are almost guaranteed to get weeded out by the calculus courses.

My university required diff eq for both EE and CompE. They did not require Calc III. Diff Eq is necessary if they're going to do anything with circuits. But I agree with you - it varies from institution to institution. My grad school, for example, requires the same math courses for CompE and EE for undergrad.

> Either way, I agree with you 100%; if the student doesn't like math, they are almost guaranteed to get weeded out by the calculus courses.

It's not that binary. I think the difference (in my undergrad) is that CompE's could struggle and manage to pass calculus (or even do well), and rarely need to use it in future courses in their Junior/Senior year. For them it's just a pain they need to get through and be done with it. EE students, though, are more likely going to need to take courses that require them to use the calculus they learned. Electromagnetics, control theory, communications theory, semiconductors, etc. Even the list of electives EE's could take were more calculus heavy compared to the list of electives for CompE's.

At my university CA: AQA was used as the text for the second course in computer architecture. The first course in computer architecture used this book:

If you do get around to reading CA: AQA, you can follow along with this Coursera course (it's taught by the professor I had when I took it at Princeton, and he does a great job teaching it):

I don't have enough patience for courses. I sort of scan the material for what I really need or want to learn and ignore what's not interesting to me. I can make consistent A's with the benefit of Adderall, but I don't feel comfortable with that.

Your recommendation was very useful and interesting to me, and I bought the paperback. I was surprised that it was cheaper to buy a used paperback than to rent it via Kindle for a month.

interrupts in out-of-order processors were the topic of last's week coursera comparch course - nice to see the discussion for a smaller machine
For those unaware, Coursera shutdown their old platform on Jun 30th [1].

Many of the courses on the old platform are slowly coming back on the new platform. When I built the list [2] of courses on the old platform the course count was 472, now its around 390. Some of the notables that I was excited to see come back are:

Neural Networks for Machine Learning with Geoffrey Hinton [3]

Computer Architecture from Princeton [4]

Programming Languages from UW by Dan Grossman [5]

Introduction to Natural Language Processing by Dragomir Radev [6]

Many of these courses were last offered a couple of years ago. Hopefully more courses form the list [2] start coming back.







Well we can't use those. But, for another commenter, I just found this:

Maybe check it out and see if you'd recommend it. A qualified opinion would help me know if I should just post it next time topic comes up.

Hmm. You have a point. I get a lot of what he's saying but some is certainly unclear. And, damnit, despite many good links he doesn't seem to have anything like that anywhere. (sighs) So, we have one solid critique of this page.

Should at least update it with speaker's notes. I always distributed those with my PowerPoints just in case they landed on a new audience not possessing innate, psychic abilities. I heard that happens on occasion.

Like Coursera, eh? Here you go:

References same textbook. Might help you and others with similar trouble with these notes.

After you get past the components, some computer architecture will do you good. See eg There's also the classic Hennessy & Patterson book.
I'd recommend this course:

If you're too advanced for this, I'd consider writing some behavioral VHDL or Verilog for a few of the units to see how a few of the pieces fit together.

Sep 20, 2013 · 1 points, 0 comments · submitted by luu
HN Academy is an independent project and is not operated by Y Combinator, Coursera, edX, or any of the universities and other institutions providing courses.
~ yaj@
;laksdfhjdhksalkfj more things ~ Privacy Policy ~
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.