You are viewing a single thread.
View all comments View context
12 points

Minor point of clarification: it can’t have runtime reflection, but in principle it could have compile time reflection.

permalink
report
parent
reply
1 point

And compile-time reflection will probably also continue to suck due to some irreconcilable limitations of type-safe generic specialization. Oh how I would love an equivalent to C++ template parameter packs…

permalink
report
parent
reply
0 points

No, the Rust Project recently made sure that Rust can’t have compile-time reflection.

permalink
report
parent
reply
1 point

Can you expand on this? I’d love to read more on the subject.

permalink
report
parent
reply
-1 points

Here is a short summary. The compile-time reflection project was stopped, and now nobody wants to touch that subject any more due to fear of getting the wrath of the Rust project again (the person responsible for the whole thing is still part of the leadership).

permalink
report
parent
reply
1 point

…yeah, that’s really unfortunate. Part of why I said “in principle”.

permalink
report
parent
reply

Rust

!rust@programming.dev

Create post

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

Community stats

  • 598

    Monthly active users

  • 775

    Posts

  • 3.3K

    Comments