The only multithreading video you'll need, or how can I make more sandwiches than you, with proof.
How, you may ask - multithreading. This episode explores how to do it, some steps you can take before employing multithreading (like batching), and the absolute theoretical limits of what you can expect from the techniques.
More about memflow: https://memflow.github.io
Join our discord: / discord
GitHub: https://github.com/memflow
Timestamps:
0:00 - Intro
0:54 - Sandwich Analogy
1:55 - Baseline and Warning
3:26 - Batching
6:58 - Functional Programming
12:30 - Multithreading
19:18 - Amdahl's Law
24:19 - Summary & Next Up
Tutorial repository: https://github.com/h33p/memflow-applied
Rayon-TlsCtx: https://github.com/h33p/rayon-tlsctx
Amdahl's law: https://en.wikipedia.org/wiki/Amdahl%...
Outro music: Lakey Inspired - Blue Boi