Go (The Programming Language)

go-logo-black

There's a companion post to this piece in which I pretty much lay out my experience of programming languages. If you'd prefer to avoid reading through all that crap, I can summarize by repurposing one of my favorite lines from Barry Humphries ("I'm no orator, far from it, I'm an Australian politician.") -- I'm no systems programmer, far from it I'm a web developer. Go is explicitly a systems programming language -- a tool for implementing web servers, not web sites. That said, like most programmers who live mainly in the world of high level / low performance languages, I would love to program in a lower level / higher performance language, if I didn't feel it would get in the way. At first blush, Go looks like it might be the "Holy Grail" of computer languages -- easy on the eye and wrist, readable, safe, and fast. Fast to compile, and fast at runtime.

What's my taste in languages? Something like JavaScript that compiles to native binary and has easy access to system APIs. Unity's JavaScript is pretty damn close -- except for the system APIs part (it's also missing many of my favorite bits of JavaScript, and not just the stuff that's hard to write compilers for). Actually if I really had my druthers it would be JavaScript with strict declarations (var foo), optional strong typing (var foo: int), case-insensitive symbols, pascal's := assignment, = a binary comparison operator, syntactic sugar for classic single inheritance, and ditch the freaking semicolon.

Of course, I am not -- as I have already said -- a systems programmer, so things like the value of concurrency haven't really been driven home to me, and this is -- apparently -- one of Go's key features.

Highlights

Lowlights

Unknowns (at least to me)

Conclusion

I'm not quite ready to jump on the Go bandwagon -- I have some actual projects that have to ship to worry about -- but it does look very, very attractive. More than any other "low level" language, it actually looks like fun to work with. The other newish language I'm attracted to -- for quite different reasons -- is Clojure. Because it lives on the Java VM it's a lot more practical now than Go is likely to be for some time, and because it's essentially "yet another Lisp" it affords a chance for me to really build some competence with a fundamentally novel (to me) programming paradigm. In a sense, Go is more attractive because it's closer to my comfort zone -- which speaks well for its chance of success. Clojure because of its conceptual novelty is almost guaranteed to remain obscure -- the latest Lisp variant that Lisp adherents point to when complaining about <insert name of language people actually use here>. Time will tell.

— Tonio Loewald,