Closed scottopell closed 1 year ago
Wasm updates! See main comment.
tl;dr - wazero is faster, no-op string-copy can reach 265 MB / s (!!). Still no vrl :(
Wasm updates! See main comment.
tl;dr - wazero is faster, no-op string-copy can reach 265 MB / s (!!). Still no vrl :(
I ran into issues running vrl with wasmtime as well, found it was due to interface types/component models not being implemented yet. I was hoping your write-to-memory-read-in-go solution would work but seems like it isn't at the moment?
I wrote an internal doc in confluence outlining my findings but the use-case I have is different than this. I'll slack the link and perhaps it might help out with this effort.
edit: typos edit2: seems like it seems fine to share the url here https://datadoghq.atlassian.net/l/cp/06MvkTbr
Out of draft, latest updates in the comment, but should be ready to merge in.
Examples of running noop (string copy), regex, and VRL all compiled from rust to
wasm32-wasi
.To build:
./build.sh