Re:WASM by Example
by flohofwoe on Wednesday November 15, 2023 @12:45PM
(#38279762)
> That's currently impossible. It requires the component model[1] to be figured out...
Not really if you use C-APIs with 'primitive-type args' at the language boundaries, which is the same like in any other mixed-language scenario. Some languages make it harder to interact with C APIs than others, but that's a problem that needs to be fixed in those languages.
Re:WASM by Example
by ncruces on Wednesday November 15, 2023 @05:01PM
(#38283189)
This. And as long as you provide memory allocation primitives, you can pass arbitrarily complex arguments in linear memory. It's just a matter of “ABI.”
Not really if you use C-APIs with 'primitive-type args' at the language boundaries, which is the same like in any other mixed-language scenario. Some languages make it harder to interact with C APIs than others, but that's a problem that needs to be fixed in those languages.