caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Scoped Bound Resource Management just for C++?
@ 2011-02-08 23:57 orbitz
  2011-02-09  0:46 ` Guillaume Yziquel
                   ` (5 more replies)
  0 siblings, 6 replies; 21+ messages in thread
From: orbitz @ 2011-02-08 23:57 UTC (permalink / raw)
  To: caml-list

One of the benefits, in my opinion, of C++ is SBRM.  You can reason  
about the lifetime of an object and have an give yourself guarantees  
about its clean up.  The method of initialization and clean up are  
also consistent for every object in the language.

My questions are:
1) Do other people in the FP world consider this to be a good strategy?
2) Can this be done in a sane way in a GCd language?
3) What are the alternatives in a language like Ocaml?

Thanks!


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

end of thread, other threads:[~2011-02-10 21:32 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-08 23:57 [Caml-list] Scoped Bound Resource Management just for C++? orbitz
2011-02-09  0:46 ` Guillaume Yziquel
2011-02-09  0:48 ` Jacques Garrigue
2011-02-09  6:25 ` dmitry grebeniuk
2011-02-09 12:01 ` rossberg
2011-02-09 15:15   ` orbitz
2011-02-09 16:14     ` Gerd Stolpmann
2011-02-09 16:52       ` David Rajchenbach-Teller
2011-02-09 17:54         ` orbitz
2011-02-09 21:50           ` Jon Harrop
2011-02-10  8:10           ` David Rajchenbach-Teller
2011-02-10 10:39     ` Guillaume Yziquel
2011-02-10 10:59       ` Guillaume Yziquel
2011-02-09 19:11   ` Florian Weimer
2011-02-09 20:10     ` Andreas Rossberg
2011-02-09 20:45       ` Florian Weimer
2011-02-09 21:12         ` Andreas Rossberg
2011-02-10 21:31           ` Florian Weimer
2011-02-09 18:03 ` Jon Harrop
2011-02-09 20:47 ` Norman Hardy
2011-02-09 21:00   ` Gabriel Scherer

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).