4 ms·
> Go implementation was executed with go run Why didn't they just use "go build program.go; ./program"? If you're compiling the other programs it doesn't seem
by codygman 13y ago
> Go implementation was executed with go run
Why didn't they just use "go build program.go; ./program"?
If you're compiling the other programs it doesn't seem fair to use the interpreter for go.
- colanderman 13y agoI thought "go run" did exactly that (compile then run)?
- codygman 13y agoPerhaps I'm mistaken, looking at the source it does seem to do just that: http://golang.org/src/cmd/go/run.go?ModPagespeed=noscript http://golang.org/src/cmd/go/run.go?ModPagespeed=noscript