wasmtime-py
wasmtime-py copied to clipboard
Python WebAssembly runtime powered by Wasmtime
this is a great enhancement from 43 ms to 6 ms in @alexprengere question in #96 ``` 0.0002523580042179674 # math_gcd 0.0014094869984546676 # python_gcd 0.043804362998344004 # wasm_gcd 0.005873051006346941 # wasm_gcd_alt
as mentioned in parent performance ticket https://github.com/bytecodealliance/wasmtime-py/issues/96#issuecomment-1497336349 we have a bottleneck when python is called from inside wasm here is a [minimum reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) unlike #96 which is to be...
While discussing #96 I was able to identify a bottleneck there was needlessly large time wasted in passing the arguments and retrieving the return basically I made a simple 32-bit...
I see that `preopen_socket` is supported in wasmtime rust SDK. do we have similar support for python SDK?
The preopen_dir WASI support seems to hold onto Windows directory resources, which prevents removal of the directory, etc. This is demonstrated by #131 , which will result in: ``` C:\Users\matth\mambaforge\envs\itk-wasm\lib\tempfile.py:843:...
This may be helpful in general, but this example is created to demonstrate an issue on Windows, #132
I was playing around the component model demo example listed in README. One issue I found with that is the python class `Demo` name is generated from the wasm file...
Currently the implemented semantics are historical artifacts where booleans are required to be 0 or 1 and integers are required to have all higher bits unset. That's no longer required...
Currently these are entirely unimplemented and are features of the component model that need to be added to verify the validity of components in the face of traps. The implementations...
Currently a historical version of the component model is implemented where this check is not performed, so the generated code should be updated to verify alignment. The `CanonicalABI.md` in the...