Skip to content

Commit

Permalink
feat: anyhow 1.0.90 arrow 53.1.0 wastime 25.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jornfranke committed Oct 18, 2024
1 parent fdede6e commit 2040235
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ The study here is a very simple application written in Rust that loads dynamical

We compile in Rust the module to the target "wasm32-wasip1" (see [here](https://dev-doc.rust-lang.org/stable/rustc/platform-support/wasm32-wasip1.html)).

Note: We also link the WASI modules dynamically into the module. However, WASI is still experimental and standardization not finalized. We could also circumwent the use of WASI (e.g. by not relying on std etc.), but since WASI will anyway be needed for the use case of ZuSearch (e.g. file, network accesss as well as corresponding permissions) we included it also in the study.
Note: We also link the WASI modules dynamically into the module. However, WASI is still experimental and standardization not finalized. We could also circumwent the use of WASI (e.g. by not relying on std etc.), but since WASI will anyway be needed for the use case of ZuStdPipe (e.g. file, network accesss as well as corresponding permissions) we included it also in the study.

## Flow to exchange data between the application and the modules
Currently, each WASM module is loaded into a memory. The application calling the module can write to this memory to exchange data with the module. The problem is that the application does not know where it can write the data. Hence, each module - as our examples - need to provide a function to the application ("allocate") that returns an area where it can safely write data. Additionally, the module needs also to provide a function that frees the data ("deallocate") after the application has finished processing the results of a function call.
Expand Down
10 changes: 5 additions & 5 deletions wasm-app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = {version = "1.0.89"}
arrow = { version = "53.0.0", default-features = false, features = ["ipc","prettyprint"] }
anyhow = {version = "1.0.90"}
arrow = { version = "53.1.0", default-features = false, features = ["ipc","prettyprint"] }
time = {version = "0.3.36", features = ["macros"]}
wasmtime = { version = "25.0.1"}
wasmtime-wasi = { version = "25.0.1"}
wasi-common = { version = "25.0.1"}
wasmtime = { version = "25.0.2"}
wasmtime-wasi = { version = "25.0.2"}
wasi-common = { version = "25.0.2"}
2 changes: 1 addition & 1 deletion wasm-module2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ edition = "2021"
crate-type = ['cdylib']

[dependencies]
arrow = { version = "53.0.0", default-features = false, features = ["ipc"] }
arrow = { version = "53.1.0", default-features = false, features = ["ipc"] }
time = {version = "0.3.36", features = ["macros"]}

0 comments on commit 2040235

Please sign in to comment.