Runtime type identification and tagged ptr types #31
Labels
data structures
Area: internal data structures
medium
Some experience and/or subject matter knowledge required
Instead of the
enum TypeList
ininterpreter/src/headers.rs
, we should explore better type identifier means.For example, can we generate a compile-time const for each object type that can be used to map to a trait object, where the trait object provides core runtime functions for each object type? This would be less verbose than the enums and mapping between tagged pointer types, possibly at some cost. Perhaps some combination of the two approaches would make sense?
The text was updated successfully, but these errors were encountered: