Re:The language I wish Go was
by sausagefeet on Thursday October 21, 2010 @09:33AM
(#1815278)
Someone on the reddit thread argued that because it is CSP you do not need this. The idea being when you send your object down the channel you lose ownership of it. I don't know enough about the Go implementation to know if this is true or not.
[ Parent
| on HN ]
Normaly thats right but you can pass pointers on a channel you share mutible state.
Listen to the go talk at Emergin Languages Camp. Rich Hickey asks about that in the end.
Re:The language I wish Go was
by sausagefeet on Thursday October 21, 2010 @10:44AM
(#1815588)
Is there any point where you would want to pass a pointer but NOT because you want mutable state, simply because it's more efficient or something?