https://github.com/willscott/wasm-adl
A WASM wrapper for IPLD ADLs
https://github.com/willscott/wasm-adl
Last synced: 11 months ago
JSON representation
A WASM wrapper for IPLD ADLs
- Host: GitHub
- URL: https://github.com/willscott/wasm-adl
- Owner: willscott
- Created: 2021-08-11T13:22:08.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T00:42:00.000Z (over 3 years ago)
- Last Synced: 2024-12-14T11:33:45.847Z (over 1 year ago)
- Language: Go
- Size: 43.9 KB
- Stars: 3
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## WASM ADL
This module builds a scaffold around an [ADL](https://ipld.io/docs/advanced-data-layouts/) written in golang that conforms to the [`NodeReifier`](https://github.com/ipld/go-ipld-prime/blob/master/linksystem.go#L224) interface. The scaffold allows the ADL to be compiled into a wasm module with a light weight proxy for access to the IPLD context it finds itself in, while allowing all non-accessed values to remain outside of the wasm memory boundary.
### Example
go run ./gen/ github.com/ipld/go-ipld-adl-hamt@cda96860a0cbf58172ac9e6269ae35071d398876 hamt.wasm