📜 ⬆️ ⬇️

Rust News # 2 (October 2018)

Kdpv with pumpkin because halloween


Better with a delay of a week than never, so I bring to your attention a subjective selection of rusty news for October.


In this selection: Rust 1.30, Rust 2018, RustRush conference, Amethyst 0.9, squatting crates.io, garbage collector, 2D graphics disputes, Non-lexical lifetimes, functional GUI.


Rust 1.30 and testing Rust2018


Rust 1.30 came out ( discussion ). The main innovations are partial stabilization of procedural macros, import of macros through normal use , improvement of the module system, raw identifiers, and support for no_std applications (more details in the habro-translation ).


Rust 1.31 will be the first release of the edition (edition) of "Rust2018" ( what is the "edition"? ), In connection with which everyone is invited to join beta testing of version 1.31 and cargo fix .


RustRush 2018 : Conference December 15-16 in Moscow


RustRush 2018 is a Rust developer conference dedicated to web, blockchain, high performance and system programming.


The site has been updated ( rustrush.ru ) - an almost complete list of speakers and a program has been published, the sale of the main lot of tickets has begun.


There will be four members of the project Rust Language: Steve Klabnik, Ashley Williams, Pascal Herliffe, Katharina Fey. From other local and not very famous stars - Maksim Lapshin with IP camera firmware, Kostya Stepanov and Pierre Krieger aka tomaka. The program .


If someone wants to submit a report, Call for Papers is open until November 19th.


rustrush logo


WebAssembly



Embedded



Rusty igrostroy



Squatting on crates.io


The controversy over whether crates.io should start supporting namespace / organization spaces has been almost invisible since the advent of cargo. Just throw here a list of several in recent years:



The question is difficult, I can’t see the end. Someone freaked out a couple of weeks ago and decided to either punch or spam the repository:



Users of the service had access problems for several hours. As a result, nothing much has changed: they introduced several additional rules against outright spam, discussions resumed with a vengeance, creating several more Pre-RFCs in the process. Let's see where it all comes in the end.


Shifgrethor GC


withoutboats , in the process of researching what new, not yet stabilized Pin API is capable of, wrote an experimental garbage collection library - Shifgrethor - and published a series of articles on how and why it is organized:



This is not the first attempt to implement a rusty GC library (there used to be @ -udes for this purpose in the language), but this one differs from previous attempts by using the new mechanism of Pin 's.


Since the library depends on the Pin API, it cannot work on stable Rust yet. The boatman reiterates several times that the project is still purely research and he is not even sure where it will make sense to use this library - most likely for integration with GC of other languages ​​or implementation of complex data structures.


Shifgrethor talk on IRLO .


A series of notes on 2D graphics



Why take and create a universal library for 2D graphics for all occasions will not work? Very entertaining, I recommend to look through the articles themselves and comments to them.



Notes on Non-lexical lifetimes (NLL)


Niko posted a few notes about how NLL ( what is this? ) Will be immediately integrated into the next edition of Rust (so far it must be explicitly enabled through feature(nll) ), its implementation and problems to be solved in future analyzer iterations borrowing (borrowck):



For those who want to dig a little deeper, there is also a URLO theme .



Azul


Even from comments to the past of the monthly it is clear that the GUI is a sore spot of Rust. Another attempt to plug this hole in the ecosystem: Azul is a functional IMGUI state-caching library that uses WebRender for rendering ( discussion ).


Details are on the project website: azul.rs.



One line



New and updated packages



New RFCs


RFC makes it quite convenient to observe which way the language is moving, so here are some interesting ones. In the PR header, there is a "Rendered" link, under which the RFC is available in a readable form.



And here are some more Pre-RFC discussions:





That's all, thank you for your attention!


If I have not added any important link or event, feel free to throw in the comments. :)


KDPV taken from here , the rest of the pictures from the sites of relevant projects.


')

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


All Articles