= golang = Go programmmig language The Go programming language is an open source project to make programmers more productive. Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language. * https://golang.org/ * https://golang.org/pkg/ * https://tour.golang.org/list * https://tour.golang.org/concurrency/1 * https://learnxinyminutes.com/docs/go/ * https://github.com/golang/go/wiki/WebAssembly#introduction '''Hello world''' {{{ package main import "fmt" func main() { fmt.Println("Hello, 世界") } }}} == WebAssembly == * On debian buster * sudo apt install golang # go version go1.11.6 linux/amd64 * sudo apt install golang-src * mkdir ~/wasmgotest '''build.sh''' {{{ go build -o main main.go GOOS=js GOARCH=wasm go build -o main.wasm main.go }}} '''index.html''' {{{