3 ms·
> a compiled binary can often be a good choice Uh, well, sure. From the context, I thought little ad hoc utilities were meant. The kind that are changed freq
by dded 13y ago
> a compiled binary can often be a good choice
Uh, well, sure. From the context, I thought little ad hoc utilities were meant. The kind that are changed frequently. We keep many right in our svn repository, so you make a check-out and make use of a little script right in the same directory as your project source code.
- vram22 13y ago>I thought little ad hoc utilities were meant. The thing is, given Go's compilation speed, little utilities will compile so fast that you'll barely notice it (on any decently powerful machine), and on the other side there's the overhead of starting up the Python or Perl interpreter. There's also the "go run" command, so you don't even have to give two separate commands (compile and run). http://golang.org/cmd/go/ http://golang.org/cmd/go/ The command "go run filename.go" compiles the specified Go source file and then runs the resulting binary (assuming no compile-time errors, of course).