News for hackers. Stuff that matters.
Re:Go Circuit – Distributed Go Programming Framework by peterwaller on Tuesday April 23, 2013 @02:14PM (#5596907)
I found that earlier - unless I'm missing something, it doesn't actually explain how the closure is packaged. Does the worker need compiled-in knowledge of what the master wants to execute in advance, for example? It's not clear to me.
Re:Go Circuit – Distributed Go Programming Framework by jbp on Tuesday April 23, 2013 @06:48PM (#5598480)
It looks like at this time Spawn doesn't support the closures yet. http://www.gocircuit.org/lang.html#worker-functions: "The need for boilerplate will be removed in an upcoming Circuit Compiler"

From https://github.com/tumblr/gocircuit/blob/master/src/circuit/...: "The worker function fn, whose type must have previously been registered with RegisterFunc"

And it looks like only function type id is communicated to worker: https://github.com/tumblr/gocircuit/blob/master/src/circuit/...