> An other thing when I have used with agents is implement an async
interface for jdbc
> like applications. I have a little explication on how it is done
> here: http://funcool.github.io/suricatta/latest/#_async_interface
That is an impressive bit of documentation. Thank you.
On Satur
Hi!
Personally, I do not have the opportunity to use refs, but atoms and agens
I have used it in different ways
I have used agents for logging system, thanks to its guarantees of
execution functions in a serial way. This allows heavy multithreading
applications put logs to stdout (or any other de
This seems to be true:
"I would have to say that the biggest surprise is how little they're needed
in Clojure."
Run this search on Google:
agent send clojure site:github.com
The first 5 pages point me to examples from several years ago, or error
reports, or unit tests. Nothing substantial or
I'm not saying this is everyone's experience or anything, but at times I
have at times considered some deeper STM-work with agents but I could not
seem to penetrate the documentation at the time. I do not know if it's
different now
-- Morgon
On Wednesday, May 6, 2015 at 5:38:08 PM UTC-4, James
On 6 May 2015 at 21:58, Alex Miller wrote:
> I would have to say that the biggest surprise is how little they're needed
> in Clojure. The combination of immutable data, functions to update complex
> data structures, and fast pure function updates with atoms actually
> satisfies a large percentage
Thanks for the thoughts!
If anybody also has any other STM experience (e.g. Haskell?) to
compare/contrast, that would be nifty to hear.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note
I would have to say that the biggest surprise is how little they're needed
in Clojure. The combination of immutable data, functions to update complex
data structures, and fast pure function updates with atoms actually
satisfies a large percentage of real use cases.
For cases where you do need c
hi,
What do people think of STM after all these years? What pros vs. cons
are there - has the community evolved the list of them?
thanks for any thoughts.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@g