|
|
|
|
|
by whonut
4041 days ago
|
|
Thanks for this. All good info. > Which lower level concepts? I may be misusing the terminology but I had in mind the sorts of things Python does for you, like memory management. > If your goal is more to learn a low-overhead compiled language, I would recommend rust. Now that you mention it, this is probably the main thing I want. Integration with Python would be nice though and, as mentioned in a previous comment, I have to learn C for university soon anyway. |
|
"Learning Standard C++ as a New Language" http://www.stroustrup.com/new_learning.pdf
Rust has great documentation that's rapidly improving, but the selection of "syntactic tools" are somewhat eclectic -- yet I think one could probably be a better C programmer by first learning Rust (just as one might be a better C programmer by first learning Pascal and/or Ada) -- precisely because Rust has gathered up what seems to me to be a very useful subset of "things" (borrow/box, strong typing, safe/unsafe etc) -- that can be useful to apply to any kind of programming.
And just as with C++, Rust will give you somewhat more complex solutions (if you look at the generated machine code) than naive C code -- but as it turns out -- the naive C code is probably incorrect, anyway!