Lurker News

Comments (37) 19 threads

nbaksalyar5 replies#
Hey HN,

For the last couple of months, I have been working on a new interactive course to teach systems programming. Basically, it can be described as "Khan Academy for low-level coding". It is built with Rust and it uses WebAssembly and JavaScript to visualize what happens when you run your code. This idea was inspired by Bret Victor's "Learnable Programming", and you can read more about it in the blog [0]. The code is also publicly available [1].
Any feedback is welcome.
Thank you!
[0]: https://lowlvl.org/blog/explorable-programming
[1]: https://github.com/lowlevelacademy

nikivi1 reply#
Looks amazing, thanks for making it. Can anyone contribute courses/material to it given its open source?
nbaksalyar1 reply#
Thanks! I haven't thought about it, but yeah, since the content is also published under the Creative Commons license, any derivative works would be very welcome. The only catch is that it takes a lot of time to create new lessons. :)
nikivi#
Great. One other thing I think you could add if not already is not cover all the topics yourself but also create a kind of roadmap of high quality resources with some order of steps to take the resources in.

As there exists lots of material already for TCP/UDP, Rust etc.

adamnemecek#
Good job on picking Rust.
nyxtom1 reply#
Thanks for making this!

We need more people with low level understanding of how everything works and how to do it from scratch (so that we can ultimately make things simpler to do basic tasks for future programmers and reduce overall complexity).
Keep up the good work!

Breza#
I totally agree. Even non-developers can benefit from a better understanding of how the internet works.
marlowe2211 reply#
Just want to thank you for making this.

I'm a JavaScript developer (just made a career change from law...) but I'm interested in dipping my toes in the water with "low level" languages. It's intimidating for someone like myself who is self taught with no CS degree or formal training.
A resource like this is just what I need to try it out.

nbaksalyar1 reply#
Thank you!

> It's intimidating for someone like myself who is self taught with no CS degree or formal training.
I know what you mean. I don't have a formal training or CS degree either. :)
And I know how scary and complex it can look, but in the end it's not that much harder compared to JavaScript or Web development. It's just different, but just as fun, and my goal here is to show that it doesn't have to be intimidating!

vagrantJin#
A tear just dropped. My fears have been quelled, And the nightmares have stopped.

The road to the top seems quite far. Low level is where you want to be, To raise the bar.

rkalla#
Here's some feedback: This is absolutely wonderful!
sai_c#

   "I have always been passionate and curious about systems programming. At a first glance, this
   area of knowledge might seem very complicated and even impenetrable for a lot of people.
   Thankfully, with Rust, the tide has started to turn: the Rust community has demonstrated that
   sometimes the perceived complexity is rooted in the lack of support, tools, and educational
   content."
I have a question for the Rust community, especially those doing low level development now. As someone who does embedded and systems programming in C for about twenty years (technically i'm not 40 yet ;-)), were the cited problems (lack of documentation, support and tools) really problems that kept from doing low level work? If not, what was it then?

I'm genuinely curious, because when I started it was more things like hardware bugs (yes they do exist) or the general theory of things (like writing a performant scheduler or file system) that seemed hard to me.

olah_11 reply#
This reminds me of Programming from the Ground Up[1]. Although this seems to focus much more on networking.

I wonder if someone could write a Programming from the Ground Up style book and use WASM instead of x86 Assembly.
[1]: https://news.ycombinator.com/item?id=11702025

nbaksalyar1 reply#
> this seems to focus much more on networking.

That's a first module, and I will keep adding more lessons, at least for UNIX process control (fork(2) and friends) and memory allocation.
> Programming from the Ground Up
This looks like a great resource, thanks!

olah_11 reply#
> and I will keep adding more lessons

As someone that doesn't know anything about low level, I am hestitant to jump into any of these lessons because I have this idea in my mind that there is a proper order that one should learn the concepts in. Is that true? If so, will you have learning "paths"?

nbaksalyar#
Yes, but these paths are likely to be loosely connected, i.e. these lessons are designed to be self-contained.

There are some common basic topics, or “prerequisites”, but these will also have their own self-contained “path” / module to explain things like binary numbers or how memory works. It’s also very likely that I’ll do a separate module for Rust as a programming language.

gavinray1 reply#
This looks fantastic, I would be willing to pay money for this honestly. Might sponsor development.
bmcfeeley#
I would definitely pay at least the cost of a good eBook or two for this

Load more comments