February 29, 2012

Go after four months #golang

Posted in Software at 03:56 by graham

Update July 2015: I’ve now been working with Go full-time for over two years, building a multi-protocol instant messaging system for finance. Apart from early problems with slow garbage-collection (don’t cache everything in-process), I have nothing but good things to say about Go. It kept our code simple, and our server fast and stable.

I’ve been using the Go programming language for over four months in my spare time, mainly to write an IRC client (hatcog) – here is my trip report.

Go sits somewhere between C and Python. It has the static type checking and bit-twiddling powers of C (and pointers!), yet much of the speed of development and conciseness of Python (e.g. string split and join). Bruce Eckel called it a language designed to create servers, and I agree wholeheartedly.

Read the rest of this entry »

February 6, 2012

Who we are. Why we do it.

Posted in Society, Software at 01:37 by graham

A year here and he still dreamed of cyberspace, hope fading nightly. All the speed he took, all the turns he’d taken and the corners he’d cut in Night City, and still he’d see the matrix in his sleep, bright lattices of logic unfolding across that colorless void… The Sprawl was a long strange way home over the Pacific now, and he was no console man, no cyberspace cowboy. Just another hustler, trying to make it through.

But the dreams came on in the Japanese night like livewire voodoo, and he’d cry for it, cry in his sleep, and wake alone in the dark, curled in his capsule in some coffin hotel, his hands clawed into the bedslab, temperfoam bunched between his fingers, trying to reach the console that wasn’t there.

From Neuromancer, p4-5

February 2, 2012

Miami Vice: Off-duty

Posted in Misc at 05:13 by graham

Someone once told me that interesting stories start like this:

  1. Establish what “normal” looks like in your world. If your story is set in present-day New York, you can do that quickly, during the opening credits. If your story is set in Middle Earth, it takes a lot longer.
  2. Break the routine. Frodo has to leave the shire. This is when the story really starts, and why you’re watching it. Today is different.

The remake of the classic 80s series, Miami Vice (2006), fails at number 2. For the whole film, two undercover vice squad detectives go undercover to bust a vice gang. Sure there’s fast cars, guns, all that, but it could of been so much better.

Read the rest of this entry »