Skip to content

devoncarew/wasmd

Folders and files

NameName
Last commit message
Last commit date
Jan 27, 2023
Apr 6, 2024
Jan 14, 2023
Jan 13, 2023
Jan 18, 2023
Feb 6, 2023
Jan 18, 2023
Feb 7, 2023
Feb 6, 2023
Jan 17, 2023
Dec 29, 2022
Feb 7, 2023
Jan 18, 2023
Dec 11, 2022
Jan 18, 2023
Dec 30, 2022
Dec 19, 2022
Jan 18, 2023

Repository files navigation

Dart CI

An exploration of compiling Wasm to Dart.

Useful docs

Conformance tests

We generate our spec tests from the conformance suite at https://github.com/WebAssembly/spec/tree/main/test/core.

You need to have the wabt tools (wat2wasm, wasm2wat, ...) installed locally.

Benchmarking

We have some initial benchmarks in the benchmark/ directory. Run either:

  • dart benchmark/gcd_bench.dart, or
  • dart benchmark/mandelbrot_bench.dart

Re-building

Updating all the spec tests (test/spec/)

  • dart tool/spec.dart --all

Re-generating a single spec test

  • dart tool/spec.dart spec/test/core/i32.wast

Rebuilding all the samples (samples/)

  • dart tool/regen.dart samples/*.wat

Rebuilding a single sample

  • dart tool/regen.dart samples/bcd.wat

Updating the spec files

  • git submodule update

or:

  • git submodule update --remote

About

An exploration of compiling Wasm to Dart.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published