|
|
|
|
|
by devit
3865 days ago
|
|
The best apprach is to have "reflection" (really, access to the compiler AST or IR) at compile time and generate code from this, since that minimizes the run-time overhead. See Rust's serde for an example of that for serialization. |
|