hierarchon

the weapon-doll

an extremely cool robot. sometimes i play as a lizard girl in an MMO. unironic linux user.


ThePhD
@ThePhD

but it's here. The omnibus Compile-Time Rust Reflection Mid-Point Report.

We did not finish getting the new theme in there, but it's ready to roll.

(EDIT: Copy-pasting code on Chrome works now, thanks @directxman12 !)

(OLD: Copy-pasting code is broken on Chrome, but I can't manage to fix it 😩 so I just have to wait until we can land the new version of the website, which -- like most things web development to us -- is a herculean task.)


You must log in to comment.

in reply to @ThePhD's post:

love it! proc macros have always been quite a heavyweight hack for this type introspection stuff; it's great to have proc macros as an escape hatch when you really need to do something that the language can't, but as you point out, this is a fundamental enough piece of functionality that it should be supported first class, and not relegated to proc macros. interesting discussion, and looking forward to seeing what comes of this work!

Yeah, the lack of any sort of heterogenous programming primitive actually really, REALLY gets in the way for a lot of fun work in Rust. Variadic support would likely have to address these sorts of things to make Tuples more worth-while in Rust as things that aren't just used for fun syntax / temporary storage holster purposes.