- The crates and modules system to organize projects is simple and intuitive.
- Rust supports macros. As the chapter mentions, I probably wouldn’t write one unless I absolutely had to. If Rust supported variable number of arguments to functions one could probably implement
vec!using that plus generics.
unsafeseems like a very powerful and tricky Rust feature. I wish the chapter had an actual example that demonstrated how to use
unsafecorrectly. And also an example of when not to use
unsafe— for example when you’re writing bad Rust code and using
unsafeto mask a bad design.
(You can find my thoughts on the previous chapters / sections here)