2021-02-03
3603
#rust
Anshul Goyal
33819
Feb 3, 2021 ⋅ 12 min read

Macros in Rust: A tutorial with examples

Anshul Goyal I love to code and use new technologies.

Recent posts:

React useCallback: When And How To Use It For Better Performance

React useCallback: When and how to use it for better performance

Learn how React’s useCallback hook boosts performance by memoizing functions and preventing unnecessary re-renders with practical examples and best practices.

Emmanuel John
Feb 26, 2025 ⋅ 6 min read
what is the virtual DOM in react

What is the virtual DOM in React?

Learn the characteristics of the virtual document object model (DOM), explore its benefits in React, and review a practical example.

Ibadehin Mojeed
Feb 26, 2025 ⋅ 9 min read

A practical guide to switch statements in JavaScript

You might start with if...else statements. But as your logic grows more complex, you’ll discover the switch statement in JavaScript is simply better for handling multiple conditions in a clean and readable way.

Fimber Elemuwa
Feb 26, 2025 ⋅ 6 min read
Building Multi-Step Forms With React Hook Form And Zod

Building a reusable multi-step form with React Hook Form and Zod

Use React Hook Form and Zod to build a multi-step form component in React that handles input validation, tracks form progress, and more.

Chinwike Maduabuchi
Feb 26, 2025 ⋅ 13 min read
View all posts

3 Replies to "Macros in Rust: A tutorial with examples"

  1. Hi, I’m from China, your article about rust macros is very well written, can I translate it and post it in Chinese social networks?

    1. Thanks for reading and for the kind words. It’s our policy to politely decline that request, but you are welcome to post a link to our original blog post on your social networks.

Leave a Reply