still a major productivity boost. Amdahl's law in another context.” “You often see languages which are fighting the last war. Go is fighting the War of 1812.”
return a + b } package math import "testing" func TestAdd(t *testing.T){ if Add(1, 3) != 4 { t.Error("Expecting 4") } } /usr/local/go/bin/go test -‐v ./... -‐run ^TestAdd$ Testing started at 03:35 ... ? _/Users/anton/work-‐src/mygo [no test files]PASS ok _/Users/anton/work-‐src/mygo/math 0.007s
dotGo: https://gist.github.com/kachayev/21e7fe149bc5ae0bd878 Channels are not enough: http://dave.cheney.net/2015/08/08/performance- without-the-event-loop Performance without event loop: