caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Compiled code that uses the stack when it can.
@ 2012-11-05 19:21 Norman Hardy
  2012-11-05 19:33 ` AW: " Gerd Stolpmann
  2012-11-05 22:25 ` Pierre Chambart
  0 siblings, 2 replies; 3+ messages in thread
From: Norman Hardy @ 2012-11-05 19:21 UTC (permalink / raw)
  To: Caml List

Is there a way to get ocamlopt to leave the C sources behind?
Does ocamlopt ever use the stack to call functions that it compiled?
Does anyone know of compilers that use the stack when they can but uses the heap when it must?
Is there literature on this?
This slide set is very useful but seems to suggest that internal functions representations are treated uniformly.
http://pauillac.inria.fr/~xleroy/talks/compilation-agay.pdf

I am thinking about static code analysis to determine two or perhaps three ways free variables in a function might be handled.
It is hard enough that I would like to see if it has been done before.



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

end of thread, other threads:[~2012-11-05 22:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-05 19:21 [Caml-list] Compiled code that uses the stack when it can Norman Hardy
2012-11-05 19:33 ` AW: " Gerd Stolpmann
2012-11-05 22:25 ` Pierre Chambart

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