Hi All,

Thank you for your replies. My tests have been via compiler explorer.

https://godbolt.org/z/4f9nKj I have done this without -BetterC, as the dynamic array fails. I guess that uses GC? Is there an alternative that works with BetterC for dynamic arrays?

Thank you for the other WASM links, I initially only need to call a single function, compute, and return a string. But the idea of the dlang side interacting with the JS side sounds useful and promising.

Is the use of classes in my example a special case? And more expanded usage will break?

Kind regards,
Mike Brown

Reply via email to