Rustacean Station  cover image

What's New in Rust 1.40

Rustacean Station

CHAPTER

Using Procedurea Macros in a Scripting Environment?

Prior to this release, you could only use function like pocedra macros in what's called item position. This is where you'd usually define your strucks and statics and all these things in your code. And now you can do it in type context, but for example, you still can't do it in expression context. So that th gits mostly the useer r, kind of like one flagship use for this. I think they are trying to remove those diferences as much as possible. Although i don't really know why that is, but it's interesting that it's the case.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner