Skip to content

Dengjianping/simd-in-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

  • nightly rust
rustup update nightly
  • wasi support
rustup target add wasm32-wasi --toolchain nightly
  • wasmer, wasm runtime environment.(or wasmtime which is using by substrate)
curl https://get.wasmer.io -sSfL | sh

Compile

cargo +nightly build --target=wasm32-wasi --release

Run

wasmer run --enable-simd ./target/wasm32-wasi/release/simd-in-wasm.wasm

About

An example showing how to use simd in webassembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages