📜 ⬆️ ⬇️

Rust 1.0 Preview

Today we are proud to present the release of Rust version 1.0 , a new programming language for creating more reliable and efficient systems. Rast combines low-level performance control with the convenience and security guarantees of high-level languages. Moreover, it does not require a garbage collector or a runtime environment, so the libraries on Rast can be replaced without painless libraries with C ( English ). If you want to experiment with Rast, it’s best to start with the “Getting Started” section of the Rust Book book (if you prefer to read from e-books, Pascal Hertleif supports unofficial versions of this book in electronic form ).

What distinguishes Rast from other languages ​​is its type system based on an improved and codified code of best practices developed by generations of C and C ++ programmers. So Rusta has something to offer both experienced system programmers and beginners: experienced developers will appreciate the time saved on debugging, and beginners will like the opportunity to write low-level code without worrying about minor errors that lead to inexplicable crashes of their programs.

What does rasta release 1.0 mean?


The current version of Rast is the result of many iterations and experiments. This development process served us well: Rust is now much simpler and more powerful than we originally imagined. But because of all these experiments, it was very difficult to support projects written in Rust, since the language and the standard library were constantly changing.

The release of version 1.0 means that this mess has come to an end. This release is the official beginning of our journey towards maintaining stability . From now on, changes that break compatibility will be outside of the stable version (except for some things , like bugs in the compiler).
')
Considering this, release 1.0 does not mean that the Rast language is “complete.” We have a lot of improvements . In fact, nightly builds already contain improvements in compilation speed (and there will be even more) and include new APIs and language features, such as std::fs and associated constants .

To be sure that the improvements in the compiler and language enter the ecosystem as fully and quickly as possible, we decided to use the train-based model of releases . This means that we will release regular releases every six weeks, as the Firefox and Chrome teams do. To start this process, we also release the Rasta 1.1 beta release - simultaneously with stable release 1.0.

Cargo and crates.io


Creating a real project is not just writing code, it’s also dependency management. Cargo - Rast's package manager and build system - created to facilitate this task. Using Cargo, downloading and installing new libraries is as easy as adding a new line to the manifest file.

Of course, to use an addiction, you must first find it. Here appears crates.io - the central repository of Rasta packages Using it is very simple to search for other people's packages and publish your own.

Since the announcement of cargo and crates.io - six months ago - the number of packages has been steadily growing. However, now we are at the very beginning of the way, so there are still many wonderful packages that need to be written. If you are interested in creating new libraries that will shake the world of Rast - now is the time

Open source and management


Rast was an open-source project from the start. For the past few years, we have been constantly looking for ways to make our leadership more open and community driven. Since we introduced the RFC process a little over a year ago, all major decisions about Rasta are recorded and discussed openly. Recently, we adopted a new management model , which consists in dividing into subcommands, each of which will be responsible for the RFC in its specific area. If you want to help determine the future of Rasta, we will be glad to any of your participation: upload libraries to crates.io , comment on the RFC, or write the Rasta code itself .

We would like to express special thanks to the following people, each of whom has contributed since our previous release (the full list of contributors is here ):

Source: https://habr.com/ru/post/258069/


All Articles