caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] reference cells
@ 2011-01-31 16:29 Nicolas Ojeda Bar
  2011-01-31 16:36 ` Michael Ekstrand
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Nicolas Ojeda Bar @ 2011-01-31 16:29 UTC (permalink / raw)
  To: caml-list

Hello,

I am translating an imperative language into Ocaml. Right now I am
translating mutable variables into ref cells. Will they be optimized
when I compile the corresponding Ocaml program? Or will they be heap
allocated? If this is the case, I will have to translate my language
into some sort of SSA form before, and I would like to avoid that.

Thanks!
N

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

end of thread, other threads:[~2011-02-04 12:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-31 16:29 [Caml-list] reference cells Nicolas Ojeda Bar
2011-01-31 16:36 ` Michael Ekstrand
2011-01-31 16:46 ` Guillaume Yziquel
2011-02-04 11:49   ` David Baelde
2011-02-04 12:30     ` Guillaume Yziquel
2011-01-31 18:12 ` Alain Frisch
2011-02-02 19:38   ` Jon Harrop

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