Samsung / walrus

WebAssembly Lightweight RUntime
Apache License 2.0
37 stars 10 forks source link

Implement base for Walrus WASI #105

Closed kulcsaradam closed 11 months ago

kulcsaradam commented 1 year ago

I have started working on implemeting WASI in Walrus.

As I have seen WASI is in a change right now where they are abandoning their witx format for wit. They are in a constant change and it could be troublesome to import other WASI systems in Walrus, as all other WebAssembly runtimes implemented their own version too as I have seen (on the basis of the official c-api).

This base can help us start implementing our own version too. This is just a rough base though, and needs some working.

My basic thought were:

The function list right now is just for example, I do not mean to actually implement it this way.

kulcsaradam commented 1 year ago

Please give your insgihts on this if this is an accpetable approach @ksh8281 @clover2123 @zherczeg .

clover2123 commented 1 year ago

It looks good to support Wasi as Wasi functions are widely used. But, IMHO implementing JITC and SIMD have the highest priority now Of course, it would be great if Wasi is supported together while JITC and SIMD are updated too

@zherczeg I wonder your opinion and development plan as well

kulcsaradam commented 1 year ago

It was closed by mistake.

kulcsaradam commented 1 year ago

@clover2123 please check out this version of a base for wasi.