Declarative Macros in Rust

preview_player
Показать описание
The ultimate Rust lang tutorial. Follow along as we go through the Rust lang book chapter by chapter.

WARNING: This book hasn't been updated in 6 years.

Chapters:
0:00​ Intro
0:18 Macros and Functions Difference
1:48 Declarative Macros
6:20 Outro

#letsgetrusty​​ #rust​lang​ #tutorial
Рекомендации по теме
Комментарии
Автор

your video quality is getting better and better :D

iyxan
Автор

One of the most underrated Dev YT-Channels🙏🏼

batman
Автор

Thank you for keeping it up on the series! Eager to see the rest and for whatever comes next!!

ZenoTasedro
Автор

This is the best introduction to rust macros I've seen! I finally understand the basics. Thank you 💙

IfiokJr
Автор

I think it is going to be a very good topic to discuss since lots of libraries in the rust ecosystem use it. Thank you for your awesome videos.

moonpoll
Автор

This is totally awesome. Learning so much from your videos. I would love to see more videos on macros. You are awesome.

SebastiaanMannem
Автор

You forgot to link the macro book in the description Bogdan!

scheimong
Автор

Awesome videos and series dude, keep it up with the good content. And yeeees, more about macros pls!

ringo.gg.
Автор

Great content, thank you! I would love to see a follow on video. Perhaps walk thru a few more match patterns?

davidvernon
Автор

Another great video. The Rust book link seems broken

thesurlydev
Автор

Does knowing how to play softal tutorial necessary?

D_lens
Автор

Wouldn't vec be a bad macro to use since it doesn't pre allocate the vector before pushing to it causing mem copies?

duke
Автор

Where can I get the information about the new macro_rules! ?

WaiTingKuo
Автор

how does it decide between square brackets and regualr paranthesis? vec! is using brackets, while println! regular paramthesis. thx!

MadHolms
Автор

Seems cool and interesting to learn more deeply - but only to understand the design process when the newer version comes out. Maybe it will be a good intro, or maybe it will be too complicated.

arisweedler
Автор

Bogdan, cheet sheet link url isn't working

murugarajuperumalla
Автор

@Let’sGetRusty unrelated to macros question here. I’m wondering how you were able to create a vector to references of string slices without the compiler complaining when there was no local memory in main for you to reference? Said another way, how is the compiler handling the string literals that you are seeming to reference in the vector? Does it create separate memory for each one and then create a reference for each one ?

zanekarl
Автор

Could you make a video with more complex macro syntax?

ОмиВанаби
Автор

I have been seeing tutorials for the past week and

ndrzs_
Автор

Another great video! I tried to claim the free cheatsheet but I haven't received it yet for a couple of days now :(

btkb