Excited to see this come about and how it could be used with the OpenFaaS watchdog on Kubernetes. https://docs.openfaas.com/architecture/watchdog/ - is the 5 nano seconds the time to fork at the OS level or a kind of in-process hot performance?
I got an error with the example however.. is everyone else seeing the same thing?
Unpacking wasi-sdk (3.0) ...
Setting up wasi-sdk (3.0) ...
Removing intermediate container d552f4538e26
---> 713ff6032205
Step 8/8 : ENV WASI_SDK=/opt/wasi-sdk
---> Running in 4189f307a30e
Removing intermediate container 4189f307a30e
---> a142a5620a28
Successfully built a142a5620a28
Successfully tagged lucet-dev:latest
Lucet hasn't been installed yet... installing...
Creating a RELEASE build
cargo build --all --release --bins --lib
error: failed to read `/lucet/pwasm-validation/Cargo.toml`
Caused by:
No such file or directory (os error 2)
Makefile:11: recipe for target 'build' failed
make: * [build] Error 101
to answer the first question: It is 50us create a new instance from a loaded WebAssembly module. The module is compiled AOT into a shared object file, which is then loaded into the runtime using `dlopen`. We create instances from a region, which is basically a pool of memory that is already mostly setup, to minimize the computation & syscalls required in instance creation.
You need to checkout submodules - $ git submodule init && git submodule update. Sorry, multiple people have reported this problem, and we're adding it to the docs right now!
I got an error with the example however.. is everyone else seeing the same thing?
Unpacking wasi-sdk (3.0) ... Setting up wasi-sdk (3.0) ... Removing intermediate container d552f4538e26 ---> 713ff6032205 Step 8/8 : ENV WASI_SDK=/opt/wasi-sdk ---> Running in 4189f307a30e Removing intermediate container 4189f307a30e ---> a142a5620a28 Successfully built a142a5620a28 Successfully tagged lucet-dev:latest Lucet hasn't been installed yet... installing... Creating a RELEASE build cargo build --all --release --bins --lib error: failed to read `/lucet/pwasm-validation/Cargo.toml`
Caused by: No such file or directory (os error 2) Makefile:11: recipe for target 'build' failed make: * [build] Error 101