Question about WebAssembly

Max Haughton maxhaton at
Thu Oct 3 18:16:40 UTC 2019

On Thursday, 3 October 2019 at 16:28:43 UTC, Dukc wrote:
> On Thursday, 3 October 2019 at 15:33:54 UTC, Max Haughton wrote:
>> [...]
> Why would you need syscalls to implement malloc/free? Just 
> allocate out of a static buffer. It is not even that hard to 
> do, versions I use myself (feel free to use for any purpose, 
> but bad code quality and high probability of bugs as it's 
> fairly little used):
> [...]

I am aware, but I was more thinking about the other calls too. 
Obviously it can be done as you have described, but it also would 
involve completely reimplementing druntime

More information about the Digitalmars-d mailing list