Saúl Ibarra Corretgé

Results 3597 comments of Saúl Ibarra Corretgé

Hey there! I suspect this would have to do with the fact that the entire bundled JS library is loaded / evaluated at startup. TBH I have never focused in...

Honestly I'm not sure. I'm open to options as long as the complexity doesn't increase dramatically.

Excellent investigation! Indeed, I'm not sure about the bundling. If you look at the commit history you'll see I used to do that with a reduced version of qjsc, but...

Yes and no. It makes cross-compiling potentially more complex but I think we can simplify it by doing the bundling and byte code generation in the host.

Thanks for the kind words! Nothing wrong with WASM IMHO, just another web API and integrating wasm3 was fun and gave me some insight as to how WASM actually works....

Yep, that's another way to go about it. I experimented with that some time ago here: https://github.com/saghul/wasi-lab/tree/master/qjs-wasi

Yep, should be the same. I guess that in that case using a more complex WASM runtime with a JIT might be better for speed...

FFi support just landed in master.

I have this on the TODO list, but I’m thinking that it might be better to just add WAAM / WASI support instead, and have that be The Way ti...

Note to self: https://github.com/ratboy666/qjs-ffi