官术网_书友最值得收藏!

Starting with Rust

Rust is a programming language developed at Mozilla Research and backed up by a big open source community. Its development was started in 2006 by language designer Graydon Hoare. Mozilla began sponsoring it in 2009 and it was first presented officially in 2010. Work on this went through a lot of iterations, culminating in early 2015 in the first stable production, version 1.0.0, developed by the Rust Project Developers, consisting of the Rust team at Mozilla and an open source community of over 1800 contributors. Since then, Rust has developed in a steady pace; its current stable version is 1.20.0.

Rust is based on clear and solid principles. It is a systems programming language, equaling C and C++ in its capabilities. It rivals idiomatic C++ in speed, but it lets you work in a much safer way by forbidding code that could cause program crashes due to memory problems. Moreover, it makes concurrent programming and parallel execution on multi-core machines memory safe without garbage collection--it is the only language that does that. By design, Rust eliminates the corruption of shared data through concurrent access, called data races.

This chapter will present you with the main reasons why Rust's popularity and adoption are steadily increasing. Then, we'll set up a working Rust development environment.

We will cover the following:

  • The advantages of Rust
  • The trifecta of Rust--safe, fast and concurrent
  • The stability of Rust and its evolution
  • The success of Rust
  • Using Rust
  • Installing Rust
  • The Rust compiler
  • Our first program
  • Working with Cargo
  • Developer tools
  • The Standard Library
主站蜘蛛池模板: 西丰县| 临高县| 朝阳区| 泉州市| 韶关市| 神农架林区| 兴山县| 京山县| 吉林省| 开远市| 武胜县| 彭泽县| 同心县| 宝应县| 绵阳市| 华宁县| 贵南县| 郯城县| 宁乡县| 吴川市| 钟山县| 莫力| 西吉县| 民勤县| 芒康县| 邢台县| 崇州市| 仙桃市| 弥渡县| 长泰县| 霍城县| 金湖县| 华宁县| 潼南县| 宜兰市| 遂平县| 类乌齐县| 西青区| 石景山区| 河西区| 平安县|