- 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
- scikit-learn Cookbook
- Reporting with Visual Studio and Crystal Reports
- Software Defined Networking with OpenFlow
- Vue.js入門與商城開發(fā)實戰(zhàn)
- GitLab Repository Management
- C#程序設(shè)計(項目教學(xué)版)
- 輕松上手2D游戲開發(fā):Unity入門
- Java編程從入門到精通
- MySQL 8從零開始學(xué)(視頻教學(xué)版)
- jQuery從入門到精通(微課精編版)
- INSTANT Apache Hive Essentials How-to
- Java程序設(shè)計實用教程(第2版)
- Android技術(shù)內(nèi)幕(系統(tǒng)卷)
- Koa與Node.js開發(fā)實戰(zhàn)
- AI輔助編程Python實戰(zhàn):基于GitHub Copilot和ChatGPT