component-model icon indicating copy to clipboard operation
component-model copied to clipboard

Question: Specialized value types

Open GordonSmith opened this issue 1 year ago • 1 comments

Looking at: https://github.com/WebAssembly/component-model/blob/main/design/mvp/Explainer.md?plain=1#L638-L653 it shows that a string should be despecialized to a list<char>, but it is not implemented like that in definitions.py, is that a conflict?

GordonSmith avatar Mar 14 '24 10:03 GordonSmith

The Canonical ABI uses custom representations for string and flags, rather than using the corresponding generic despecialized types.

I submitted #320 with some documentation which I hope helps here.

sunfishcode avatar Mar 14 '24 19:03 sunfishcode