I’ve always been fascitaned by databases and always wanted to learn more about its internals, in this tutorial, we will build a simple Key-Value store from scratch with Rust.
If you save a text file with non-english characters and wondered how the editor knows how to interpret it correctly, then this is for you.
It’s bad to use vars to define state that’s going to be shared by multiple threads, the same
goes for using vars for using vars for sharing state amongst multiple effects.
```scala
object Refs extends IOApp {
Forking, Joining and cancelling an effect