Rust, week 2...
The continued, albeit slow, adventures of someone who's been coding for 37 years and is now learning Rust...
Things I like about Rust, pt2...
Rust comes with a suite of tools to standardise the ecosystem of the Rust language... and this is a good thing. Go does the same. Having standard ecosystem makes the heavy lifting around learning a language much easier. If you want to buid a Rust project you plop yourself into the root of the project and type 'cargo build'... that's it. You're not mucking about with configs, makefiles, cmake or any other custom build system. This gets a thumbs up from me.
Anyway, more next week as I get further through The Book and keep prodding around in rustlang.
Things I like about Rust, pt2...
- std::option::Option - no more Null... force error check at point of creation
- Inbuilt testing framework
- RustFmt - code formatting !
- Everything is on Github... and I mean everything... fantastic !
- Safety is not sacrificed for simplicity. Yes, Rust is a complex language, but that's because decisions have been made which puts safety and control first rather than convenience.
- The team provide editor integration plugins... including the mighty VIM !
- Opening curly brackets on the right... argh ! I know it's just convention, but argh !
Rust comes with a suite of tools to standardise the ecosystem of the Rust language... and this is a good thing. Go does the same. Having standard ecosystem makes the heavy lifting around learning a language much easier. If you want to buid a Rust project you plop yourself into the root of the project and type 'cargo build'... that's it. You're not mucking about with configs, makefiles, cmake or any other custom build system. This gets a thumbs up from me.
Anyway, more next week as I get further through The Book and keep prodding around in rustlang.
Comments
Post a Comment