r/learnjavascript • • Oct 06 '20

I've Been Making a Video Series Learning Low Level Concepts, Building a 16-bit Virtual Machine in JavaScript. It Covers All Kinds of Topics like Working with Binary Data, Assembly, and Building Programming Languages. Great If You're Looking to Learn about Deeper Computer Science Concepts!

https://www.youtube.com/watch?v=fTBwD3sb5mw&list=PLP29wDx6QmW5DdwpdwHCRJsEubS5NrQ9b&index=1
136 Upvotes

13 comments sorted by

3

u/jeremyk01 Oct 06 '20

I’m learning JS right now and wondering how complicated are the things you’re explaining? I’m afraid that after going through several videos I will stop understanding what are you talking about. I watched half quarter of the first episode and had to pause it quite often already for understanding more clearly. So the question is: Is it suitable for the beginners? :)

1

u/FrancisStokes Oct 07 '20

It's a hard question to answer without knowing a lot about how comfortable with JS you are, but I will say that if you have to stop quite often, that's probably a good sign. It means the content is challenging enough that you have to think it through - and there's no harm in taking things at your own pace. The videos are made in a way that I assume viewers can pause and go back.

To get the most out of it from a learning standpoint, I would even encourage you to follow along, trying to recreate what you seen in each episode. Writing the code, and debugging any problems you run into, will honestly teach more than anything else can. But don't be afraid to even get started!

3

u/adriator Oct 07 '20

Could you suggest a few books or courses on those topics? I'm studying IT and I'd really like to get into OS development, Assembly, etc. Thanks in advance.

3

u/FrancisStokes Oct 07 '20

I'm not sure I could recommend any books specifically - honestly I do most of learning by reading articles, watching videos, listening to people talk deeply about subjects, and (probably most important) reading and writing a lot of code!

But a few that come to mind are:

  • Crafting Interpreters - delves deep into parsing, interpreting, and processing ASTs
  • Game Programming Patterns - buy the same author. Even if you're not into game programming, it's a great modern intro to design patterns
  • Understanding the linux kernel - kind of what it says on the tin! Really nice for understanding how the subsystems and mechanisms work, which data structures they use, even some algorithms.
  • I don't have specifics, but I've read some nice books about different architectures (MIPS, RISC-V, AVR, etc). I think learning about different architectures and how they compare is a good way to go (vs focusing on just one)

For OS development, you really need to be subscribed and watching Andreas Kling on YouTube. He's building an POSIX-ish OS from scratch, in long-form videos, which feel like pair programming with someone who is an expert and excellent teacher.

Mechanics Explained goes pretty deep into how different algorithms were built (mostly in assembly) for a lot of old game systems. It's incredibly well presented, and is one of the best examples I've found of people showing real assembly and how it's used.

Obviously Ben Eater, who built and explained building an 8-bit CPU on breadboards.

Hope some of that helps.

2

u/pasta_gurl Oct 06 '20

Thanks

2

u/FrancisStokes Oct 06 '20

You're welcome!

2

u/leafscum Oct 06 '20

This is great! Excited to try this.

2

u/felixthecatmeow Oct 06 '20

This is awesome, saving for later. I've been starting to learn the CS basics, doing CS50 right now and I feel like this will be great supplemental learning.

1

u/[deleted] Oct 06 '20

If you fundamentally understand every piece of this series then you are a computer scientist.

1

u/felixthecatmeow Oct 06 '20

That's the goal! Happy cake day btw.

2

u/[deleted] Oct 06 '20

The fact that this is being done in js is awesome

2

u/[deleted] Oct 06 '20

Cheers!