Comment Comment by singularity2001 one wasmtime dependency and a self contained python file with 100 loc seems reasonable!much better than calling deno, at least if you have no pip dependencies...just had to update to new api:# store.add_fuel(fuel) store.set_fuel(fuel) fuel_consumed=fuel-store.get_fuel()and it works!!time to hello world: hello_wasm_python311.py 0.20s user 0.03s system 97% cpu 0.234 total parent singularity2001 1 year ago
much better than calling deno, at least if you have no pip dependencies...
just had to update to new api:
# store.add_fuel(fuel) store.set_fuel(fuel) fuel_consumed=fuel-store.get_fuel()
and it works!!
time to hello world: hello_wasm_python311.py 0.20s user 0.03s system 97% cpu 0.234 total