- Rust Programming Cookbook
- Claus Matzinger
- 215字
- 2021-06-24 12:27:40
Setting up your environment
Since the programming language comes with a variety of toolchains, tools, linkers, and compiler versions, choosing the best-fitting variation is not easy. Additionally, Rust works on all major operating systems—which adds another variable.
However, installing Rust has become a trivial task when using rustup (https://rustup.rs/). On the website, a helpful script (or installer on Windows) that takes care of retrieving and installing the required components can be downloaded. The same tool lets you switch between and update (and uninstall) these components as well. This is the recommended way.
To write code, an editor is also required. Since Visual Studio Code sports some Rust parts, it is a great choice together with the Rust extension. It's an open source editor developed by Microsoft and is well received across the world and the Rust community. In this recipe, we will install the following components:
- Visual Studio Code (https://code.visualstudio.com/)
- rustup (https://rustup.rs)
- rustc (and the rest of the compiler toolchains)
- cargo
- RLS (short for Rust Language Server—this is for autocompletion)
- Rust language support for Visual Studio Code
- Python概率統(tǒng)計
- Instant Apache Stanbol
- 神經(jīng)網(wǎng)絡(luò)編程實戰(zhàn):Java語言實現(xiàn)(原書第2版)
- C#程序設(shè)計教程
- The Complete Coding Interview Guide in Java
- 可解釋機器學(xué)習(xí):模型、方法與實踐
- The DevOps 2.5 Toolkit
- Mastering React
- 匯編語言編程基礎(chǔ):基于LoongArch
- Scala for Machine Learning(Second Edition)
- Python Essentials
- Struts 2.x權(quán)威指南
- Fastdata Processing with Spark
- C#面向?qū)ο蟪绦蛟O(shè)計(第2版)
- Java EE 8 and Angular