DuckLogic / rust-static-reflect

Compile time reflection for Rust
MIT License
5 stars 1 forks source link

Investigate Prior Art #1

Open Techcable opened 3 years ago

Techcable commented 3 years ago

Obviously the most well known Reflection APIs are going to be the Java-like runtime APIs or Python-style dynamic behavior. However, this crate would like to do as much as possible at compile time.

Rust

C++

Java

Techcable commented 1 month ago

See also juntyr/const-type-layout. Unfortunately requires a lot of nightly features (even specialization 😦).