Issue Rust 1.84. Cores Of Tock And Vekos Written On Rust. Mini-C Dialect

The release of the general purpose programming language Rust 1.84, founded by the Mozilla project, now developed under the auspices of the independent non -profit organization Rust Foundation. The language is focused on the safe work with memory and provides means to achieve a high parallelism of the tasks, while dispensing with the use of the garbage collector and Runtime (Runtime comes down to basic initialization and accompanying the standard library).

Memitory working methods in RUST save the developer from errors when manipulating with signs and protect against problems arising due to low-level memory work, such as an appeal to the memory area after its release, the extension of the zero signs, exit beyond the buffer, etc. .p. To distribute libraries, ensure the assembly and management of dependence, the Cargo package manager develops. To accommodate the libraries, the repository is supported by crates.io .

Safe memory work is ensured in RUST during compilation through references checking, tracking the ownership of objects, taking into account the lifetime of objects (visibility) and assessment of the correctness of access to memory during the execution of the code. RUST also provides means to protect against integer overflow, requires mandatory initialization of variables before use, better processes errors in the standard library, applies the concept of irreplaceability (Immutable) links and default variables, offers strong static typification to minimize logical errors.

The main innovations :

  • In the Cargo package manager, the processing mechanism is stabilized, choosing versions of dependent components, taking into account compatibility with the versions of the Rust compiler, declared as minimally supported by the project (MSRV, Minimum Supported Rust Version). A new opportunity allows you to save the accompanying manual choice of old versions of each dependence in projects that maintain compatibility with old versions of Rust tools. The new mode of determining the dependencies will be activated by default in the Rust 1.85 release, and for now it is available in the option format, for the inclusion of which in the “Resolver] section” in the file “.cargo/config.toml” should be indicated ‘Incompathle-rust-versions = ” Fallback “‘.
/Reports, release notes, official announcements.