Summary

In this chapter, you have learned how to create your own macros. First, we saw the standard macros and created some that could help you develop more quickly and create more efficient code. Then, you learned about procedural macros and how to derive your own code for your structures and enumeration. Finally, you found out about two features that might be coming to stable Rust in the future, which can currently be used in nightly Rust—plugins and declarative macros.

In the two remaining chapters, we will talk about concurrency in Rust. As you will see, once our single-threaded code is fast enough, the next step toward faster execution is to compute it in parallel.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.21.12.140