txiki.js
txiki.js copied to clipboard
What is wrong with WebAssembly
WebAssembly Is A good move in this project but I think it's too limited and hard to deal with . so i think is it better to use ffi to make things easy and quick . Thanks man - this is the best project I found since programming in JavaScript
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.
I need to find some time for integrating one of the existing QuickJS FFI projects, but haven't had much lately...
One thing that could be done is get quickjs interpreted in wasm, but that'll probably slow it down, on the other hand, you get more hardware support since wasm out of the box supports more.
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
I was thinking of https://github.com/wasm3/wasm3 when I said that but it should all be the same right? Thanks for the reference, I'll give it a try.
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.