In this rust programming tutorial, we pull back the layers behind the println! macro and show how this rust macro really works underneath the hood.
We will look at how you can write to the terminal without using a macro and how to build our own equivalent println macro. at the end of this video, you'll truly know how the macro works, and unlock the secrets of hello world in rust.
Almost every Rust Programming tutorial skips past how Hello World actually works. Those 3 lines of Hello World are very beautiful in the Rust Language, but there is a lot going on behind the scenes to make it so pretty. In part 2 of this 3 part series, we look behind the scenes of the println macro in rustlang and show how it really works.
In this tutorial, we'll look at:
what a rust macro is and how to create one
how to import from stdio
how to write to the terminal with stdout
how to write our version of println
#rustlang
Смотрите видео How Rust's println! macro really works онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Chris Hay 22 Январь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,359 раз и оно понравилось 171 людям.