Skip to content

lao/go-wasm-play

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playing with Go and WebAssembly

repo for this tutorial, just to play around with Go building to Wasm

Scripts

# build the wasm package with go
make build.wasm 
# build the wasm package with tiny-go
make build.wasm.tinygo 
# run the server 
make run.server

Tiny-go problems

syscall/js.finalizeRef not implemented follow: tinygo-org/tinygo#1140

TODO:

  • basic go package built to webassembly and called from js

  • reduce size of bin generated by go (maybe follow this)

  • load files from html input tag and checksum with go

  • compress files with different algorithms from go and benchmark

  • resize and other image related actions and benchmark

  • test with big files

  • try to add async func https://issuecloser.com/blog/golang-wasm-async-function

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published