Difference between revisions of "Team Hortons"

From CDOT Wiki
Jump to: navigation, search
(Replaced content with "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 Prog...")
(Introduction: The Rust Programming language)
Line 6: Line 6:
 
== Introduction: The Rust Programming language ==
 
== Introduction: The Rust Programming language ==
  
[text]
+
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 [https://insights.stackoverflow.com/survey/2016#technology-most-loved-dreaded-and-wanted 1]
 +
[https://insights.stackoverflow.com/survey/2017#most-loved-dreaded-and-wanted 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 ==
 
== Memory Ownership and Borrowing ==

Revision as of 18:45, 26 November 2017

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%