Skip to content
This repository was archived by the owner on Aug 17, 2022. It is now read-only.

References to modules/instances? #4

Closed
lachlansneff opened this issue Apr 30, 2020 · 2 comments
Closed

References to modules/instances? #4

lachlansneff opened this issue Apr 30, 2020 · 2 comments

Comments

@lachlansneff
Copy link

Does this proposal extend to runtime-exposed module types? Or is it just standardizing a text format for module types?

Using module types, and being able to interface with known module type through a reference to an instance would be pretty cool. It'd be sort of like a class or trait.

@lukewagner
Copy link
Member

Originally, the only goal was just standardizing a text format. But, coincidentally, I just opened a #3 about generalizing the proposal to do rather more at runtime (although really just loadtime).

@lachlansneff
Copy link
Author

I'd love to see the ability have imported instances be more like dynamic references that can be built out of function references (and memory/table refs too) at runtime, but the other thread is probably the place to discuss it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants