News Rust # 1 (September 2018)

News Rust # 1 (September 2018)
 
My comment to the news about Rust ??? with a review of rusty events for a month went well, so that's holding
very subjective
a section of rusty news for the past month.
 
In this collection: Rust 1.2? records from Rustconf 201? gfx-rs, Rust201? Flatbuffers port, new versions of ripgrep and Alacritty.
 
Rust ???r3r3751.
 
Rust came out ???. The main innovations are available immediately from rustup 'a cargo fix and cargo clippy ...
+ 0 -

Interview with Aaron Patterson, speaker of the conference RubyRussia 2018

Hello! We continue the interview series with the speakers of the conference RubyRussia . Aaron Patterson (also 3r3r3? tenderlove
) Is a member of the Ruby core team and Rails core team, a leading software engineer in a small start-up called GitHub. Pavel Argentov talked with Aaron before his second trip to Russia.
 
 
Interview with Aaron Patterson, speaker of the conference RubyRussia 2018  
 
Let's start with the standard question. What is your personal ruby ​​story? How did you get on this train? Tell us about your achievements? Was it possible to make the world better?
 
dhh - PA) to make New Brilliant Fine Features...
+ 0 -

FB2D - 2D Framework for Linux Frame Buffer (Rust)

I decided to tell you about the library I wrote recently. Perhaps someone will come in handy.
 
This is a 2D framework in Rust for rendering directly in the Linux Frame Buffer /dev /fb0.
 
The task was - on Raspberry Pi to display on the screen /TV simple 2D scene. Raspberry Pi runs under the control of a custom headless Linux compiled with YoctoProject. There are no Window Managers, just like OpenGL. It remains only Frame Buffer.
 
In the case of Frame Buffer, each pixel must be processed. Since I write for Raspberry Pi mainly on GoLang, I decided to write a library on Go. Very quickly I realized ...
+ 0 -

On the device of the built-in test functionality in Rust (translation)

Hello, Habr! I present to your attention the translation of the entry "#[test]In 2018" in the blog of John Renner, which can be found here .
 
 
Recently I worked on the implementation of eRFC for custom test frameworks for Rust. Studying the code base of the compiler, I learned the inside of testing in Rust and realized that it would be interesting to share this.
 
how AST represents the identifiers . The name of each function, variable, module, etc. is stored not as a string, but rather as an ...[/test]
+ 0 -

As I am a UDP game server on Golang wrote

As I am a UDP game server on Golang wrote

Introduction


 
Recently started learning the Go programming language and for practice I decided to try writing a client-server application on it. Since I like computer games and in particular the good old "Snake" in which he played on an old black and white phone, he decided to make it her name. Yes, you heard right, it's about the game "Snake" that is divided into server and client part communicating with each other using the UPD protocol.
 
Code
 
...[/h]
+ 0 -

A boat for Starcraft on Rust

A boat for Starcraft on Rust
 
StarCraft: Brood War . How much this means to me. And for many of you. So much that I doubted whether to give a link to the wiki.
 
Once I was knocked in a personal Halt and offered to learn Rust . Like any normal people, we decided to start with
hello world
writing a dynamic library under Windows that could be loaded into the StarCraft address space and manage units.
 
The article will describe the process of finding solutions, using technologies, techniques that will allow you to learn new things in the language of Rust and its ecosystem or be inspired to implement the bot in your favorite ...
+ 0 -

Release of Rust ???

The Rust development team is pleased to announce the release of the new version of Rust: ???. Rust is a system programming language aimed at security, speed, and parallel execution of code.
 
If you have a previous version of Rust installed with rustup, then you just need to run
to update Rust to version ???.
 
$ rustup update stable
 
If you have not already installed rustup, you can set it to from the corresponding page of our website. With detailed notes to the release of Rust ??? ...
+ 0 -

"Tanks in the console" is a small announcement before the big article

Good afternoon Habr


 
 
Finally, I'm ready to continue the series of articles devoted to my project development (it is necessary to finish it up to mind), interesting plans, new projects and developments are ahead.
 
 
Missed the tanchiki, yes? Then under cat.
 
github.com/koitoTy/game_enjine
 
Tanks: github.com/koitoTy/tank_game
 
(group in can be found in the profile) Good afternoon Habr   Finally, I'm ready to continue the series of articles devoted to my project development (it is necessary to finish it up to mind), interesting plans, new projects and developments are ahead.  Missed the tanchiki, yes? Then under cat.  github.com/koitoTy/game_enjine  Tanks: github.com/koitoTy/tank_game  (group in can be found in the profile)...[/h]
+ 0 -

As the update to Rust ??? speeded up my code in more than three times

I want to share a small story about the power of LLVM and the advantages of high-level languages ​​over the assembler.
 
 
I work for Parity Technologies, which supports client Parity Ethereum . In this client, we need fast 256-bit arithmetic, which has to be emulated at the software level, because no hardware supports it hardware.
 
 
For a long time we parallelly do two implementations of arithmetic: one on Rust for stable assemblies and one with built-in assembler code (which is automatically used by the nightly version of the compiler). We do this because we store 256-bit numbers as arrays ...
+ 0 -

Operating systems from scratch; level 3 (the older half)

Operating systems from scratch; level 3 (the older half) In this part, we'll add the interrupt processing and take on the scheduler. Finally, we will have the elements of a multitasking operating system! Of course this is only the beginning of the topic. One timer interrupt, one system call, the basic part of a simple thread scheduler. Nothing complicated. However, by this we will prepare a springboard for the creation of a full-fledged system that will deal with the most real processes without any "buts." Just like in these your lines and others. Until the end of
this
course is already a little less than half.
 
Zero lab
 
The f...
+ 0 -