skip to content
[readonly]

hello for meshd's wasm executor: task = arg * 3 + 7, plus the wasm executor's test hooks (per-access cost, bulk reads, trap, spin, memory growth)

sh
$ sexc add @ajax/mesh-prog-hello-wasm
  • total 3
  • drwxr-xr-x-../
  • drwxr-xr-x-Oct 27 04:27v/# 1 version
  • drwxr-xr-x-Oct 27 04:27files/# the files of 0.1.0
latest
0.1.0, published Oct 27 04:27 by ajax
owners
ajax
license
MIT
dependencies
@ajax/mesh-rt-wasm ^0.1.0
dependents
none yet
keywords
mesh alphaos wasm program hello
homepage
https://github.com/thomasdavis/alpha-c-mesh/tree/main/programs/hello-wasm
repository
https://github.com/thomasdavis/alpha-c-mesh
==> README.md <==
1# @ajax/mesh-prog-hello-wasm
2
3hello for meshd's wasm executor: task = arg * 3 + 7, plus the wasm executor's test hooks (per-access cost, bulk reads, trap, spin, memory growth).
4
5The wasm image of the `hello` program for meshd's wasm executor, built by sexc as a `"kind": "wasm"`
6package on `@ajax/mesh-rt-wasm` (at -O2, as the Rust builds its guests release). Ported from
7alpha-rust-mesh's `programs/hello/wasm/src/lib.rs`: the same view layout, ops and results as the program's other images. In a
8catalog it is `<name>.wasm` beside `program.toml` (the GPU programs and the manifest are
9`programs/hello`, where one exists).
10
11Tests: `@ajax/mesh-wasm-programs-check` runs it in the executor against the CPU references.