5

It would be awesome to see support for AssemblyScript (which compiles typescript to wasm).

So how can we do this?

The database interface seems like the main headache. Boost seems to be way too complex to implement, so perhaps this should start with something like: https://github.com/EOSIO/eos/blob/master/contracts/eosiolib/datastream.hpp. But how would abi integration work in this case?

Secondly there are quite a few other library functions that should get implemented.

It would be great if someone could provide me with a complete list of requirements for just the barebone, core libraries that would have to be integrated!

If these are not that long, what are we waiting for?

1

The answer to this question is being documented here.

TL/DR: Getting the most basic functionality to work is very easy. You only need to export an apply(uint64, uint64, uint64) function in webassembly, which can be easily done in AssemblyScript.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.