Sam Clegg

Results 1136 comments of Sam Clegg

As Dan mentioned, the easy part is enabling exceptions in the compiler (e.g. passing `-fwasm-exceptions`). The more compex/nuanced part is getting libc++abi/libunwind configured correctly. To see that current differences from...

Indeed, llvm already uses wasm exception to implement SJLJ, when wasm exceptions are enabled, so it should just work once we enable exceptions.

Proposed llvm change: https://reviews.llvm.org/D143783

> @sbc100 , does this mean that we can get rid of the JS import thunks like the following? > `function _sidey(){ Module["_sidey"].apply(null,arguments) }` Its not clear to me exactly...

Yes, a weak import is one that can be undefined, but not just at initialization time, also at runtime. A weak import remains undefifined for the duration of the execution...

Out of curiosity, where does you claim come from that "inlining isn't actually helpful with wasm"? As far as I know on the producer side in both llvm and binaryen...

I see.. I've not seen that paper, thanks for the link. The notable thing about targeting the JVM is that it itself will do a bunch of inlining, which I'm...

My understanding is that this would not but much work from the implementation side. @backes and @eqrion perhaps you could confirm? (To be clear this would *not* involve implementations having...

I've put some time on tomorrow's CG meeting agenda to discuss this issue.

As per today's CG discussion lets have an informal poll here by voting thumbs up or thumbs down on OP of this issue.