Open main menu

CDOT Wiki β

Team Hortons

Revision as of 17:45, 26 November 2017 by Henrique Salvadori Coelho (talk | contribs) (Introduction: The Rust Programming language)

Once upon a time there was a team. In their programs, they never used floats. They only used double doubles.


Multithreading with Rust

Introduction: The Rust Programming language

Rust is a system programming language (like C and C++, offering direct access to physical memory) sponsored by Mozilla, created in 2010. It is compiled, imperative, functional and strongly typed; it aims to provide better memory safety and still maintain a performance similar to C++, while providing garbage collection through reference counting. Rust won the first place as the "most loved programming language" in 2016 and 2017, in a survey from Stack Overflow 1 2.

Rust has a very strong emphasis in security, more specifically, memory safety. Because of this, the same rules that the compiler requires from a program end up solving many problems that are common in concurrent executions, such as race conditions. This project will explain what these security rules are, how they can prevent problems in parallel programming, as well as demonstrating the correct way to tackle concurrency with Rust.

Memory Ownership and Borrowing

[text]

Channels

[text]

Locks (Mutex)

[text]

RC and Atomic

[text]


Group Members

  1. Henrique Salvadori Coelho
  2. Olga Belavina


Progress

-5%