DEV Community

Discussion on: Experimenting with Web Assembly and Node.js

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Do I need the emscripten glue code?

I am seeing errors like:
LinkError: WebAssembly.instantiate(): Import #1 module="env" function="_emscripten_get_heap_size" error: function import requires a callable

Collapse
 
nebrius profile image
Bryan Hughes

Just to make sure I'm reading this correctly (the timestamps aren't totally clear to me), did your comment on my other post indicate you figured this out?

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Correct, yes your other post helped me figure this part out.

I feel like I am 90% there with my experiment.

Collapse
 
sudhanshu16 profile image
Sudhanshu Gautam

Hey! I am experiencing the same issue. I have used a 'c' code.
Do you know the solution to this issue?

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Use emscripten and include the JavaScript gluecode and you won't have this issue.