I have started to explore how <WIT> translates to ...
# webassembly
s
I have started to explore how WIT translates to Kotlin here, I would be interested to have feedback especially on the various open questions identified as TODO in the code and summarized below: • Confirm multiple named return values requires the creation of a dedicated data class. • Does WIT
result
function return value translate for most use cases to returning an unwrapped return value + throwing an exception in case of error? • How Kotlin properties mutability should be inferred from WIT? • Is it idiomatic to translate WIT flags as data class of
Boolean
properties? • How WIT
union
should translate to Kotlin?
👍 1