Message:
Hello golan...@googlegroups.com (cc: golan...@googlegroups.com),
I'd like you to review this change to
https://go.googlecode.com/hg/
Description:
gorun: new tool for running Go source files
gorun enables running a go file from the command line,
and will also cache compilations so that further runs
do not have to compile the code again unless necessary.
gorun caches files under a temporary directory, and
ensures that concurrent runs work correctly.
Unlike my previous contributions, this tool has been
developed by me within time that was dedicated to
Canonical Inc., and I've received written confirmation
from the company that Canonical waives rights to the
code, allowing me to rightfully make this donation,
according to point 4 of the CLA.
This code is certainly broken on windows, and will
require love from a caring developer.
Please review this at http://codereview.appspot.com/4959047/
Affected files:
M src/cmd/Makefile
A src/cmd/gorun/Makefile
A src/cmd/gorun/doc.go
A src/cmd/gorun/main.go
M src/pkg/Makefile
Regardless of any LGTMs that may come, please let me think about it for
a while.
Yeah, I know you do.. I've seen your comments in previous
conversations, and I can share some of your feeling about this.
The reason this tool was created, and the background for this
submission, is that this is a way for people to get comfortable with
Go when coming from languages that work in a similar way. I see this
as barrier remover so that people can let misconceptions die and then
engage into actual Go, and it has been useful in my endeavour of
pushing Go in a Python-heavy environment.
> Regardless of any LGTMs that may come, please let me think about it for
> a while.
Will do.
Thanks for the GTUG talk, btw. Appreciated watching it.
--
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/plus
http://niemeyer.net/twitter
http://niemeyer.net/blog
-- I never filed a patent.
Description:
gorun: new tool for running Go source files
This doesn't change what I've pointed out: it's a valid way for people
to _experiment_ with the language with a familiar workflow while
getting hooked into the actual benefits. I'm not suggesting any
changes to the language with this tool.
-rob
It already is, and is documented as well:
I'm submitting because given the tool nature it feels reasonable to
have it in the tree, and because I see people interested on that every
once in a while (Brad mentioned it before, the Debian packager
mentioned he'd like to have that in the package, etc).
That said, it doesn't really bother me too much to leave it outside,
to be honest, if you feel strong about not having it in the tree for
whatever reason.
It's actually hg checkout + goinstall.
I have been assuming that most systems ship with mkdir. :-)
I assume gorun is already goinstallable.
I don't see the problem with telling people
that if they want to use this, they can run
1 command:
goinstall whatever.com/whatever/gorun
and then boom they're all set. If anything
that's even more impressive than not
having to run the command.