Making my Voxel Engine faster
I'm making a voxel engine with RUST! (the programming language...) I originally was making my voxel game with Unity, but my love for the Rust programming language caused me to see if it's viable to swap over to that. This episode is all about optimizing the code for the world generation. Multithreading, benchmarking, profiling and data compression, are all things I've tackled with lately. My discord group: https://discord.gg/9P8QSYf Want to support me? XMR: 43Ktj1Bd4Nkaj4fdx6nPvBZkJewcPjxPB9nafnepM7SdGtcU6rhpxyLiV9w3k92rE1UqHTr4BNqe2ScsK1eEENvZDC3W1ur timestamps: 0:00 hi 0:43 Tantans mixtape: gotta go fast 0:55 video layout 1:33 world generation 2:58 what we need to optimize 4:04 queue 4:37 multithreading 7:27 benchmarking & profiling 9:39 Generation settings for my pc 9:58 problems 10:26 Unity VS Rust 11:09 pain 11:22 the winner is 12:11 data compression Resources: The tech I'm using! Graphics rendering api: https://wgpu.rs/ multithreading: https://github.com/rayon-rs/rayon benchmarking: https://github.com/bheisler/criterion.rs profiling: https://crates.io/crates/profiling, using Optick feature The tutorial I followed to learn wgpu: https://sotrh.github.io/learn-wgpu/ Relevant resources that may help when learning how to make a voxel engine: https://sites.google.com/site/letsmak... Voxel Game Mesh Optimizations by @Hopson https://youtu.be/VQuN1RMEr1c I Made Minecraft in 24 Hours by @Sam Hogan https://youtu.be/Nj8gt_92c-M Making Minecraft from scratch in 48 hours (NO GAME ENGINE) by @jdh https://youtu.be/4O0_-1NaWnY