4 ms·
It's the modern high-level language features that get me. Despite Rust technically being a lower-level language, they are so well implemented that I often find
by nicoburns 6y ago
It's the modern high-level language features that get me. Despite Rust technically being a lower-level language, they are so well implemented that I often find Rust more enjoyable to code something in than other supposedly friendlier languages. The killer is the compile times. If Rust had Go-like compile times it would be almost perfect.
- est31 6y agoYou get accustomed to the slow compile times of Rust over time. Then you do some Go stuff and get extremely surprised by how quick it is, almost as if Go's cheating. But it's just rustc being slow :).
- drran 6y agoRust is high-level language. You mean "a language which allows low level access to hardware". Right?
- the__alchemist 6y ago"high level" and "low level" have somewhat fluid meanings, and in the case of Rust, aren't ideal for describing the language on the whole. Eg: You can do "low level" things like read a MCU register using a raw pointer. You can take advantage of "high level" abstractions like Result types.
- drran 6y agoHigh level language is platform independent. Low level stuff can be done from almost any language. I used peek and poke in Basic to access hardware registers 30 years ago.
- ncmncm 6y agoThe expressions "high-level" and "low-level" are almost meaningless in this context. Rust, like C++, has a broad range. In any big system, almost all of the code will be doing high-level-ish things no different than you would do in a Python program. At unpredictable points it will need to dip into low-level-ish activities, where it might end up spending the most runtime. If you were writing Python, you might call out to a C or C++ module, then. It is this broad range that defines a modern systems language. It has organizational features that make a big system manageable, and features to get full value from hardware. People used to try to use C as a systems language, with well-known failings.