Re: how goeth the STM experiment?

2015-05-10 Thread piastkrakow
> 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

Re: how goeth the STM experiment?

2015-05-09 Thread Andrey Antukh
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

Re: how goeth the STM experiment?

2015-05-08 Thread piastkrakow
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

Re: how goeth the STM experiment?

2015-05-06 Thread Surgo
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

Re: how goeth the STM experiment?

2015-05-06 Thread James Reeves
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

Re: how goeth the STM experiment?

2015-05-06 Thread Raoul Duke
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

Re: how goeth the STM experiment?

2015-05-06 Thread Alex Miller
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

how goeth the STM experiment?

2015-05-05 Thread Raoul Duke
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