rust macros are magic @Tantandev
rust macros are magic  @Tantandev
Uploaded July 2023 | Updated September 2026, 2 weeks ago
Rust macros are magic.
I want to show you a real life application of a powerful rust macro I put together, that handles spell assets in the bevy game engine.

If you want to learn more about macro programming with Rust I recommend checking these videos out:
Rust's Witchcraft by @NoBoilerplate youtu.be/MWRPYBoCEaY
Declarative Macros in Rust by @letsgetrusty youtu.be/KsJHlqULpO4

rust libraries used in this video:
bevy (game engine)
serde (serialization + deserialization)
ron (file format, similar to json. Ron integrates awesomely with rust)

Support me!
⁍ Patreon: patreon.com/Tantandev
⁍ Monero: 43Ktj1Bd4Nkaj4fdx6nPvBZkJewcPjxPB9nafnepM7SdGtcU6rhpxyLiV9w3k92rE1UqHTr4BNqe2ScsK1eEENvZDC3W1ur

My discord group:
discord.gg/9P8QSYf

#gamedev #rustlang
rust macros are magicI made a game playable on Midi Controller - using Rust5 Game Developers VS One Art Pack (feat Yannick, Poly Mars, Barji, Khud0)Snake But I Made It For Keyboard Using RUST1 Year Of Game DevelopmentAdding PvP was a mistake - Voxel RPG DevlogMultiplayer programming bug BROKE MY GAMEProgramming Language Name Tier ListI Made Flappy Bird With Rust & BevyMake Pong With RUSTI made a Voxel proc-gen library so good, I had to drop a beat 🔥Rust & XRP: Building a Vanity Wallet Generator for Fun
Tantan |

rust macros are magic

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER