Results 1275 comments of Alon Zakai

Good points @dcodeIO @MaxGraey , I forgot that pass... We could disable it in a no-exceptions build. That would mean the optimizer is less powerful, but the difference would be...

A monad approach can work as discussed above. But it would be a large amount of work. Given that wasm exceptions are getting close (though maybe not as close as...

Fair point @MaxGraey If someone has time to do it, I'd welcome a PR. I'd strongly recommend going down the "polyfill wasm exceptions" route, though, as discussed above. That is,...

Oh, interesting. Can you disable those evaluations? (are they optimizations, or necessary even in debug builds?) Yes, the interpreter could be rewritten to be stack-based, see earlier discussion higher up:...

It's not trivial, but not huge. I'd guess maybe a day or two of work. Has this become urgent for some reason?

Looks like a duplicate of #6639 which has been fixed meanwhile on `main` (but is not yet in a release).

@JSMonk I tagged version 118 now (still building atm).

I agree it would be good to add something for these use cases, but I don't have a specific idea what would be best - both of those directions sound...

That might make sense. For simplicity, perhaps wrapping `WalkerPass` is enough, that is, having a single `visit*` method rather than one per class? Then on the C/JS side the user...

I'm not familiar with this but it sounds like a good idea. A PR to add it to our releases would be very welcome.