You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ozgurkon-2020-site/content/sessions/rust_as_a_high_level_langag...

25 lines
1.4 KiB

---
key: rust_as_a_high_level_langage
5 years ago
title: Rust as a High-Level Langage
id: PjQDGsFIQoo1By4Ogv3q
language: English
5 years ago
format: conference
tags:
- _languages
level: beginner
speakers:
- aleksey_kladov
5 years ago
videoId: null
presentation: null
draft: false
---
5 years ago
The singe most important feature of Rust is memory safety. Writing code with performance of C++, at a typical development cost, and with guaranteed absence of certain classes of memory safety related vulnerabilities is something that was not possible before.
5 years ago
However, all popular managed languages with garbage collection take memory safety for granted, so this aspect of Rust doesn't bring anything new to the table, if you already use Java or Go. Nevertheless, Rust can be an interesting choice as a high-level language, and this talks explains way.
The focus of the talk is fearless concurrency. Data races are a pervasive and unsolved problem in languages like Java and Rust's guaranteed thread safety is a liberating experience for application development. We also touch on some other benefits of the language for high-level tasks:
5 years ago
* predictable performance due to absence of garbage collection
* control over the memory layout of objects, which gives you extra performance if you need it
* module (crate) system that, at the language level, prevents dependency hell
* additional correctness guarantees, like the absence of iterator validation or strict control of error conditions