caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re: [Caml-list] STM support in OCaml
@ 2006-03-08 10:11 yoann padioleau
  2006-03-08 10:41 ` Asfand Yar Qazi
  2006-03-08 11:32 ` Gerd Stolpmann
  0 siblings, 2 replies; 34+ messages in thread
From: yoann padioleau @ 2006-03-08 10:11 UTC (permalink / raw)
  To: skaller, Asfand Yar Qazi; +Cc: caml-list


> > You make several claims:
> > 
> > STM is not lock free.
> > STM is not useful on a small number of processors
> > 
> > As for claim 1.  "Lock-free" doesn't mean what you think it does. 
> 
> I know what STM does, thank you: I intend to implement it
> myself in my own programming language. Maybe you should
> read more carefully.
> 
> I said "protected by a mutex under the hood." which means
> sure, the programmer is not writing locks, but they're used
> in the implementation and the associated costs are still paid.

I have read (very fastly) the atomcaml paper and I don't think they use "mutex under the hood".
It seems that they just log stuff and rollback. I guess that when you want to implement 
STM on multiprocessor you may need to mutex stuff (the internal data structures maintained by the STM runtime),
but as ocaml runtime does not use multiprocessor, they dont need it.




^ permalink raw reply	[flat|nested] 34+ messages in thread
* STM support in OCaml
@ 2006-03-07 16:18 Asfand Yar Qazi
  2006-03-07 16:50 ` [Caml-list] " Sebastian Egner
  2006-03-07 17:15 ` skaller
  0 siblings, 2 replies; 34+ messages in thread
From: Asfand Yar Qazi @ 2006-03-07 16:18 UTC (permalink / raw)
  To: caml-list

Hi,

I've temporarily decided to leave off learning OCaml (although I still intend 
to learn it at some point) and start learning Haskell due to its support for 
Software Transactional Memory and lock-free concurrent programming.

Are there any plans to add STM to OCaml?  And I'm talking highly integrated 
into the language, not just some bolt-on library.

Thanks


^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2006-03-11 15:26 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-08 10:11 [Caml-list] STM support in OCaml yoann padioleau
2006-03-08 10:41 ` Asfand Yar Qazi
2006-03-08 12:23   ` skaller
2006-03-08 23:02     ` Asfand Yar Qazi
2006-03-09  0:36       ` skaller
2006-03-08 11:32 ` Gerd Stolpmann
2006-03-08 12:04   ` skaller
2006-03-08 19:22     ` Dan Grossman
2006-03-08 22:10       ` skaller
  -- strict thread matches above, loose matches on Subject: below --
2006-03-07 16:18 Asfand Yar Qazi
2006-03-07 16:50 ` [Caml-list] " Sebastian Egner
2006-03-07 17:44   ` Michael Hicks
2006-03-08  0:37     ` Asfand Yar Qazi
2006-03-08  5:05       ` Erick Tryzelaar
2006-03-07 17:15 ` skaller
2006-03-07 19:05   ` Asfand Yar Qazi
2006-03-08  0:52     ` skaller
2006-03-08 10:38       ` Asfand Yar Qazi
2006-03-08 19:36       ` William Lovas
2006-03-08 20:45         ` Brian Hurt
2006-03-08 21:14           ` Paul Snively
2006-03-08 22:06           ` skaller
2006-03-08 22:10             ` Gerd Stolpmann
2006-03-08 23:48               ` skaller
2006-03-09  7:45               ` Andrae Muys
2006-03-09  9:18                 ` David Brown
2006-03-08 22:11             ` Brian Hurt
2006-03-08 23:05               ` Lodewijk Vöge
2006-03-09  3:13                 ` Brian Hurt
2006-03-08 23:45               ` Robert Roessler
2006-03-09  0:23               ` skaller
2006-03-09  3:19                 ` Brian Hurt
2006-03-09  4:32                   ` skaller
2006-03-09 10:38                     ` John Chu
2006-03-11 15:26             ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).