Skip to content

ohz10/sm_presentation

Repository files navigation

State Machines in Rust

A presentation which introduces a few different techniques for implementing state machines in Rust.

Tennis Kata Images

Use graphviz to generate images for tennis kata state machines:

$ circo -Tpng -o sm4.png sm4.dot
$ dot -Tpng -o sm20.png sm20.dot
$ dot -Tpng -o simple.png simple.dot

View the images using feh:

$ feh -Z -F sm4.png
$ feh -Z -F sm20.png
$ feh -Z -f simple.png

PDF Slides

The slides can be generated using TexMaker.

Code Slides

The code slides require bat and ksh and can be viewed by running ./code_slides.sh

Presentation Monitor Configuration

Configure secondary monitor to mirror the main monitor using xrandr:

$ xrandr --output SECONDARY --same-as PRIMARY

Where SECONDARY is the name of the second monitor and PRIMARY is the name of the primary monitor.

About

State Machines in Rust Presentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published