wasdk / WebAssemblyStudio

Learn, Teach, Work and Play in the WebAssembly Studio
http://webassembly.studio
MIT License
2.93k stars 274 forks source link

question: dynamic memory in C++? #429

Closed stkevintan closed 5 years ago

stkevintan commented 5 years ago

Hi,I'm new to wasm I write a simple quicksort C file which will allocate memory dynamicly use new int[size], but first time I got a error of lack of ___syscall . then I implement the syscall function like the C examples, it passed the build. but the webpage will be stuck after I click the Run button .

https://webassembly.studio/?f=2um38ggmber

Is there any way to make it work ?

stkevintan commented 5 years ago

sorry its my mistake