Hi Ryan, well, to describe in the terms of Petri nets how the Clojure STM is built? Thats a good topic for a thesis, but rather hard to do in news group articles.
If you try to understand how to use the STM in Clojure, Petri nets probably will not help you. STM rather asks you to forget the stuff under the hood. (The best way I know to learn this is still Rich Hickeys videos.) Dont know whether thats been helpful, but I cant do more. Kind regards, alxu Ryan Teo schrieb: > Hi alux, Andrej, > Thanks! > I'm still trying to understand how STM works in Clojure, so I would > be happy if someone could tell me what's the relationship between > Petri nets and the STM model. > Is Petri nets analogous to the STM? If you have any good online > resource, I would be very grateful if you can send some to me. > Hopefully, the understanding I get can be shared with everyone. I > think concurrency is quite important for today's applications, and I'm > quite interested in that aspect of Clojure. > > Ryan > > On Mar 22, 11:14 am, Andrzej <ndrwr...@googlemail.com> wrote: > > On Mon, Mar 22, 2010 at 4:36 AM, alux <alu...@googlemail.com> wrote: > > > > > as far as I understand, Petri nets are as powerful as any concurrent > > > mechanism. That means you can do all the good things Clojure does, and > > > all the bad things (the other languages do :) too in Petri nets. > > > > I wonder if Petri nets can be applied for modeling systems based on > > STM (in Clojure's flavor). I've only seen them used in common > > lock-based designs (not that it means anything - I barely touched the > > surface). > > > > Andrzej -- 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 that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.