
What's New in Rust 1.40
Rustacean Station
00:00
Embedded Languages Supporting Features That Enable Libraries to Evolve
There have been changes to the rust compiler that seem to be targeted primarily at macro authors. You can now call a function like procedura macros in type context. This lets you write macros in a somewhat convenient way. There are other types of macros that are not function like, and these would be things like a,. if you see a pound square bracket in front of a function or a type or something - so this would be stuff like derive a. It might be things like non exhaustive attribute Arguably using Eril is a macro isn't actually implemented but it's pretty useful. And i think even in the standard library, the standard io error kind works a little bit like this, where
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.