From: Eric Dahlman <edahlman@atcorp.com>
To: caml-list@inria.fr
Subject: [Caml-list] Differences between interpreted/compiled code
Date: Mon, 8 Mar 2004 10:24:14 -0600 [thread overview]
Message-ID: <0A0E269A-711D-11D8-8BF5-000393914EAA@atcorp.com> (raw)
Howdy,
I am trying to track down a bug and I wonder if someone could enlighten
me as to the difference between the execution of compiled code and byte
code. I remember someone on this list mention that there should not be
any detectable difference between the two but my test is busting the
stack in one case but no the other. My first guess is that the
interpreter may not be performing tail call optimization where the
compiler is but I am not clear as to whether that counts as an
"observable" difference.
I the code which breaks is in a library which uses an ocaml lexer and
parser to interpret a string so as support for my running hypothesis do
the generated parsers assume that TCO will be properly performed?
What are the differences between the two execution models and could
that be contributing to my stack problems?
Thanks,
-Eric
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next reply other threads:[~2004-03-08 16:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-08 16:24 Eric Dahlman [this message]
2004-03-09 4:57 ` skaller
2004-03-09 12:16 ` Hendrik Tews
2004-03-09 16:20 ` [Caml-list] Solved: " Eric Dahlman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0A0E269A-711D-11D8-8BF5-000393914EAA@atcorp.com \
--to=edahlman@atcorp.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox