Gulg

Results 28 comments of Gulg

What is the current state of this PR?

What are the main difficulties? Also, it looks like the changes in this PR would be breaking, as they are not compatible with the current JS API.

@kripken For some reason I get `Maximum call stack size exceeded` when importing the module after it has been built. Do you know why is that happening? Setting `--stack-size` to...

@kripken It seems like Node.JS fails to load the script: ``` node:internal/modules/cjs/loader:1427 const result = compileFunctionForCJSLoader(content, filename, false /* is_sea_main */, shouldDetectModule); ^ RangeError: Maximum call stack size exceeded at...

It seems like the error is coming not from the count of stack frames, but instead from the size of stack. Increasing `--stack-size` also fixes the problem. The resulting module...

I've built the project in debug mode, and got 3 million lines. Is this ok? Is the size of bundle coming from embind?

It's just strange to me that the crashes appeared when using Embind. I've found the root of the problem. I removed the expression wrappers and now it loads just fine....

As much as I would like to maintain backward compatibility, embind does not provide such opportunities to leave the external interface unchanged, just as it was with the JS wrapper....

> Btw, was this with binaryen.js or binaryen.wasm? The issue was with the JS version. I've changed the code a little and now it's back, even with the new capitalization...

How to turn off CI? I get my email spammed on each commit 😄