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

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
主站蜘蛛池模板: 上虞市| 新兴县| 鸡泽县| 乌海市| 平顶山市| 武强县| 芦山县| 杭州市| 榆中县| 南靖县| 图木舒克市| 秦皇岛市| 陆丰市| 古浪县| 石楼县| 扎鲁特旗| 禹城市| 乌兰浩特市| 崇礼县| 大丰市| 琼海市| 盐源县| 青海省| 永宁县| 北川| 乌拉特前旗| 昌邑市| 随州市| 五莲县| 仪征市| 资溪县| 岢岚县| 四川省| 榕江县| 中西区| 安龙县| 沙田区| 乐昌市| 西平县| 呼玛县| 宣武区|