Today I am diving into Rust Language.
https://www.rust-lang.org/ ">https://www.rust-lang.org/">...
https://www.rust-lang.org/ ">https://www.rust-lang.org/">...
A friend recommended their official book. So I will start here: https://www.rust-lang.org/learn ">https://www.rust-lang.org/learn&quo...
A few years ago I had to decide before diving into Go or Rust. I eventually chose Go.
It was a choice between Go and Rust because the 2 most popular #Ethereum clients were written in these languages.
The official client is written in Go. https://github.com/ethereum/go-ethereum">https://github.com/ethereum/...
It was a choice between Go and Rust because the 2 most popular #Ethereum clients were written in these languages.
The official client is written in Go. https://github.com/ethereum/go-ethereum">https://github.com/ethereum/...
Rust is one of those modern languages that comes with a "native" set of tools for the devs.
Cargo - dependency manager, build tool
Rustfmt - code formatter, linter
The Rust Language Server - powers IDE integration for code completion and error messages
Cargo - dependency manager, build tool
Rustfmt - code formatter, linter
The Rust Language Server - powers IDE integration for code completion and error messages
Chapter 1: Installation and Hello World
I installed `rustup`, which is a Rust version manager like `nvm` (for Node.JS) or rvm (for Ruby).
#nodejs #ruby #rustlang
#nodejs #ruby #rustlang
I also installed the rustup plugin for zsh, to enable autocompletion.
https://github.com/pkulev/zsh-rustup-completion
https://github.com/pkulev/zs... href="https://twtext.com//hashtag/zsh"> #zsh #rustlang @ohmyzsh
https://github.com/pkulev/zsh-rustup-completion
https://github.com/pkulev/zs... href="https://twtext.com//hashtag/zsh"> #zsh #rustlang @ohmyzsh
I like you also have documentation available locally
$ rustup doc
Opens a browser window with the documentation, lots of rust books, even the one I& #39;m reading right now.
You can learn and program rust even while flying or without internet.
https://abs.twimg.com/emoji/v2/... draggable="false" alt="âïž" title="Airplane" aria-label="Emoji: Airplane">
#rustlang
$ rustup doc
Opens a browser window with the documentation, lots of rust books, even the one I& #39;m reading right now.
You can learn and program rust even while flying or without internet.
#rustlang
I had to add
"rust-client.rustupPath": "~/.cargo/bin/rustup"
to my VSCode settings to use Rust Language Server.
"rust-client.rustupPath": "~/.cargo/bin/rustup"
to my VSCode settings to use Rust Language Server.