Skip to content

Experimental code, to see if TinyGo Wasm can usefully retrieve and display variables defined in javascript

License

Notifications You must be signed in to change notification settings

justinclift/tinygo-vis1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is just simple research code, to determine if the current state of TinyGo wasm can usefully present visualisation data for DBHub.io purposes.

To compile the WebAssembly file:

$ tinygo build -target wasm -no-debug -o docs/wasm.wasm wasm.go

To strip the custom name section from the end (reducing file size further):

$ wasm2wat docs/wasm.wasm -o docs/wasm.wat
$ wat2wasm docs/wasm.wat -o docs/wasm.wasm
$ rm -f docs/wasm.wat

About

Experimental code, to see if TinyGo Wasm can usefully retrieve and display variables defined in javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages