Skip to content

Runtime type identification and tagged ptr types #31

@pliniker

Description

@pliniker

Instead of the enum TypeList in interpreter/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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    data structuresArea: internal data structuresmediumSome experience and/or subject matter knowledge required

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions