3 ms·
The runtime in this case is compiled into the binary. With php, the runtime is all contained in the php binary that runs your scripts, in Go's case, the runtim
by cgag 10y ago
The runtime in this case is compiled into the binary. With php, the runtime is all contained in the php binary that runs your scripts, in Go's case, the runtime is copied into every binary it produces.
- nowprovision 10y agoFor a more true comparison with external scripting runtimes one can do: go run main.go Although this would be ill-advised, kind of like PHP in general..
- cgag 10y agoI'm not sure what you mean. Isn't this equivalent to `go build main.go && ./main`?
- nindalf 10y agoIt is. Not sure if the other guy has ever used Go.
- nowprovision 10y agoHmm it would seem so, I could of sworn it was different, my bad.
- nowprovision 10y agoHmm it would seem so, I could of sworn it was different, my bad.