AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
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