Skip to content

datzero9/wasm-memory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebAssembly memory

Building the code

  • building the Rust Wasm module:
$ rustc --target wasm32-unknown-unknown --crate-type=cdylib src/lib.rs -o rust.wasm
  • building the AssemblyScript module:
$ npm install
$ npm run asbuild
  • executing the Node.js runtime:
$ node test.js
  • executing the Wasmtime runtime :
$ cargo run
  • building and running a local Rust executable that uses the same API as the Wasm module and running a Valgrind:
$ rustc src/lib.rs -o mem
$ ./mem
$ valgrind ./mem

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published