3 ms·
Why no start with C? Then perhaps check C++ and Rust? If you want to understand internals of programming languages then Go isn’t a great choice because it abst
by DethNinja 4y ago
Why no start with C? Then perhaps check C++ and Rust?
If you want to understand internals of programming languages then Go isn’t a great choice because it abstracts away so much stuff.
- vaylian 4y agoIf you really want to understand how programming languages work internally, you should look at assembly language or possibly at the bytecode interpreters of some scripting languages. C is still fairly high-level.
- shrimp_emoji 4y agoThe definition of "low level" keeps changing over time. :p At this rate, Python will be called "low level" 50 years from now. But to the OP: Rust is just "C for the 21st century" (despite people often calling Go that). The UX is stellar -- `cargo run` can't be beat, integrated unit testing, safety concepts learned in the last few decades are applied by default, and the docs are great[0]. I don't think there's any reason to learn C first, especially if you're coming from a "high level" background like TypeScript, other than experiencing culture shock and legacy braindeath horror. 0: https://doc.rust-lang.org/stable/book/title-page.html https://doc.rust-lang.org/stable/book/title-page.html
- LecroJS 4y agoYeaaaa hearing c called high level makes me wonder what word would even describe the js/ts/Python I’m familiar with…
- stop50 4y agoThe advantage of rust is that it protects you from common errors in c. if i had to choose between c and rust as someone who likes go, i always would choose rust.
- rgoulter 4y agoWell, I'd much rather maintain an application written in Rust or Go, than written in C. But for gaining understanding, I think because C is so 'raw', I think that makes it useful for developing further understanding as a programmer.
- stop50 4y agoI think there has to be an good reason for starting an project in c, like an special platform that isn't implemented in rust. If you need to fiddle with unsafe memory you can still use unsafe in rust.
- cardanome 4y agoWithout any prior knowledge of C you wouldn't really understand what problems Rust solves for you. Especially when never having worked with any lang without automatic garbage collection. A quick dive into C is a good idea for learning. It is hugely influential and basically the Latin of programming languages so any knowledge pays huge dividends down the road even if you never use it directly. Whether you should use C was not the question. There are valid uses though even for new projects and if just for the few exotic targets that Rust doesn't yet compile to.