The only thing is I hate titles like this—the title is bragging a bit too much. Maybe a title more like: “How I’m helping my high school peers learn about CPUs”. That way it implies you’re young, smart, and care about others—all of which I imagine are true :)
Hacker News automatically removes the word "How" from the beginning of submissions (and then Title Cases them for good measure) - so I believe submitting that title would instead result in this: I'm Helping My High School Peers Learn About CPUs I might be wrong though, it might only do this with "How to ...".
I'm 17 and wrote this guide on how CPUs run programs
131–140 of 327 posts
Re: I'm 17 and wrote this guide on how CPUs run programs
#132Congrats on completing this guide. > There aren't many comprehensive systems resources if you aren't going to college, so I had to sift through tons of different sources of varying quality and sometimes conflicting information. The absolutely best resource you will find is Charles Petzold's Code: The Hidden Language of Computer Hardware and Software . The 2nd edition was just released. https://codehiddenlanguage.com/
I bought it 15 years ago and my eyes glossed over the CPU arch section, but maybe I am ready now. I bought 2e recently.
Re: I'm 17 and wrote this guide on how CPUs run programs
#133The first part of the course's homework creates a simulator of the 1978 intel 8086 (which modern x86_64 assembly still closely resembles). You will learn a lot of things about computers that are really difficult to find elsewhere.
Re: I'm 17 and wrote this guide on how CPUs run programs
#134Hi! I'm Lexi, I wrote this article/mini-book. There's a classic question of "what happens when you load a website?", but I've always been more interested in "what happens when you run a program?". About 3 months ago, I was really annoyed at myself for not knowing how to answer that question so I decided to teach myself. I taught myself everything else I know in programming, so this should be easy, right? NOPE! Appare…
Re: I'm 17 and wrote this guide on how CPUs run programs
#135Earlier quoted context omitted.
I'm not sure it's always obvious to ourselves when we have. We humans are amazing at denial and telling ourselves whatever story we want to believe in. I'm not picking on you. If there's one thing I'm terrified of, it's blind spots.
In my experience, it's an unknown-unknown problem (don't know what we don't know). Is it important you can recite cache eviction algorithms from memory? No. Is it important you know there are such things as caches and roughly how they work? Yes. Because then you can quickly look up the details when/if you need them.
And what is it important for? Why, for making sure that your software makes efficient use of system resources. This is essential if you're writing application software that's used by other people – but if you're writing server-side code, or some one-a-month business-logic data-processing scripts, or code that's only ever going to run on five specific machines, it's not that big of a deal. I haven't needed this skill yet.
Re: I'm 17 and wrote this guide on how CPUs run programs
#136Meta point: I'm curious of people's thoughts when OPs in general post "I'm N years old..." or "I'm a blind programmer who..." before posting something unrelated to their life situation. Personally I think this falls into the "girls do not exist on the internet" rule of thumb. No reason to state that you're a girl (or 12 years old or whatever) other than to prime people to look upon your writing with lower standards.…
This is a young person making strides in a hard field, and quite different from majority of peers at their age, but especially today with short attention spans, and TikTok, gaming, other distractions.
Another point is many high schools tend to coddle their students even for very little accomplishments. I was surprised by the attention one 16 yr old student got for making an interesting yet simple science explainer about the sleep cycle. She won the award in the Breakthrough challenge competition, got a 250K scholarship, and given feedback to the tune that she would cure cancer.
There's also a huge competitive gap between US High schools today on average, than many other countries. It would be great for the US system to challenge HS students again and reward real accomplishment.
Re: I'm 17 and wrote this guide on how CPUs run programs
#137Going down the Rabbit Hole is fun for any subject you learn a lot. For electronics I went down the hole power, current and voltage, EMF, magnetism, ferromagnetic metals, domains (as in magnetic area no networking i.e. electron alignment), virtual electrons, physics, quantum mechanics... Similar for computers you see the high level stuff but then you can go right down to the wire level where bits are voltages +5/-5/0V…
That's not fixing the problem: that's ignoring it. Which might be the right decision if you need the computer to work now, but fixing it would mean it never happens again.
Re: I'm 17 and wrote this guide on how CPUs run programs
#138Hi! I'm Lexi, I wrote this article/mini-book. There's a classic question of "what happens when you load a website?", but I've always been more interested in "what happens when you run a program?". About 3 months ago, I was really annoyed at myself for not knowing how to answer that question so I decided to teach myself. I taught myself everything else I know in programming, so this should be easy, right? NOPE! Appare…
I only browsed this but it seems like a pretty cool primer. Loving the style as well. It's also a very good idea to write these types of resources when you teach yourself something new because it clarifies your thought process and helps you identify parts that are still unclear even though you initially thought you understadn them etc. I also liked this at the end: """ I talked to GPT-3.5 and GPT-4 a decent amount wh…
Effortful learning - I always try to get my students doing these kind of projects.
I think this one is very cool. It's like a more approachable version of Modern Operating Systems.
Re: I'm 17 and wrote this guide on how CPUs run programs
#139Very nicely written, and congrats on doing such a deep dive on this kind of topic. These days 17 year olds can get away with "programming" by gluing things they don't understand, but I think they'll eventually hit a ceiling. So what you're doing is super valuable, not for yourself, but for everyone else who will learn from your materials. Well done :) EDIT: now go write an emulator if you haven't already, it's a ton…
Re: I'm 17 and wrote this guide on how CPUs run programs
#140Hi! I'm Lexi, I wrote this article/mini-book. There's a classic question of "what happens when you load a website?", but I've always been more interested in "what happens when you run a program?". About 3 months ago, I was really annoyed at myself for not knowing how to answer that question so I decided to teach myself. I taught myself everything else I know in programming, so this should be easy, right? NOPE! Appare…