Verified Commit 2b8fab6d authored by Katharina Fey's avatar Katharina Fey 🏴
Browse files

Update

parent 86797f4d
......@@ -2,7 +2,7 @@
transition: none
---
# Cuncurrency, data correctness, and Rust
# Concurrency, Data Correctness, and Rust
::: notes
......@@ -10,6 +10,7 @@ Hey and welcome to my talk.
:::
---
# `whoami(1)`
......@@ -70,6 +71,22 @@ jargon that I would like to explain to you first.
::: notes
It's good to keep a model of our computer in mind when writing code.
Many errors might seem obvious once we do this.
CPU: Executes instructions on cores and threads. Each thread has its
own cache with a shared cache between them.
Memory: Connected to the CPU, usually _very_ slow to access in CPU
scale time. This is why values get (and stay) cached.
Synchronising Cache and Memory is the CPUs job. We don't have to
worry. BUT: concurrent prograbs CAN break this mechanism.
:::
---
# Some examples
---
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment