Technical Working Group DeAI

@jeshli: in case you are planning to use wasi2ic in production, please take a look at this change in the example code: fix: Make WASI polyfill more robust in image classification by ulan · Pull Request #850 · dfinity/examples · GitHub

By default the WASI polyfill library is going to use the canister’s stable memory to store the file system. If the canister already uses its stable memory for other purposes this may lead to data corruption. The change I linked passes a virtual stable memory to WASI.

@sgaflv: wdyt about applying the same change to demo1 example of wasi2ic such that people use the library safely?

3 Likes