4 karma · joined Dec 29, 2012 (13y ago) · 3 submissions
comment 11y ago · link · parent
Part of what I was discovering in this blog post is that if you look under the hood at these convenience methods, and you know in advance what type are passing (i.e., you are not using interface{}), you can often find the "direct" call to use that uses a concrete type and likely get better performance out of it.
comment 11y ago · link · parent
comment 13y ago · link · parent
One difference, I imagine, is that the Actor model is distributable (a la Erlang and recent Akka editions), whereas the Clojure model is fundamentally about safely sharing memory in the same process space.
Beyond that though, is there an example of a problem that is hard to do with STM or the Clojure model but relatively straightforward with Actors or Go channels? And then the same question in the other direction.
I'd be very interested in studying such an example!