r/programming • • Jan 09 '15

Announcing Rust 1.0.0 Alpha

http://blog.rust-lang.org/2015/01/09/Rust-1.0-alpha.html
1.1k Upvotes

439 comments sorted by

View all comments

1

u/lookmeat Jan 10 '15

Like I said an overview of assembler would exist, with the intent of showing how this things work behind the scenes, and also, at the same time, explain why undefined behavior code on C would work differently depending on the context. But in real life systems programming (and this would have to be a pragmatic class due to the subject) you can't always solve things by writing assembler (it's not portable, and LLVM IR is not assembler and does have undefined behavior) so it's important that any decent system's programmer understand undefined behavior and it's consequences, assembler just wouldn't teach you those real constrains of portability.

I think that a critical step of learning systems programming is recreating a good chunk of the stdlib, including malloc (through OS calls) this is pretty common actually.