Rust multi-threading code review

Publié le: 05 avril 2022
sur la chaîne: Tantan
210,575
7.7k

my 3d cellular automata simulation written in rust with multi threading was sub-optimal. Using benchmarks with criterion and the help from my community, I learnt what the bottlenecks of this application are.
Today I share the journey I went through to optimize my multi-threading code!
Let's talk about the code... ;)

original video 3D cellular automata video:
   • 3D Cellular Automata - complex behavior fr...  

3D Cellular automata project links:
Source code: https://github.com/TanTanDev/3d_cellu...
IsseW gpu implementation: https://github.com/IsseW/cas
Dstaatz atomics implementation: https://github.com/dstaatz/3d_celluar...

BENCHMARKS I made for this video:
https://github.com/TanTanDev/cellular...

My discord group:
  / discord  

Want to support me?
Patreon:   / tantandev  
Monero: 43Ktj1Bd4Nkaj4fdx6nPvBZkJewcPjxPB9nafnepM7SdGtcU6rhpxyLiV9w3k92rE1UqHTr4BNqe2ScsK1eEENvZDC3W1ur

Credits:
Music Prototype by Wintergatan Build Tracks
Music Valentine by Wintergatan
Music The Rocket by Wintergatan

Music Non-Euclidian Geometry by Punch deck
Music Brazilian Street Fight by Punch deck
Music See The Light by Punch deck

Wintergatan link: https://wintergatan.net/
License can be found on website

Punch deck link:   / punch-deck  
Punch deck license: https://creativecommons.org/licenses/...

#rust #multithreading #review


Sur cette page du site, vous pouvez voir la vidéo en ligne Rust multi-threading code review durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Tantan 05 avril 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 210,575 fois et il a aimé 7.7 mille téléspectateurs. Bon visionnage!