From: Chris Hecker <checker@d6.com>
To: Lex Stein <stein@eecs.harvard.edu>, Ed L Cashin <ecashin@uga.edu>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] ocaml and large development projects
Date: Sun, 18 May 2003 16:19:08 -0700 [thread overview]
Message-ID: <4.3.2.7.2.20030518155527.03225f30@localhost> (raw)
In-Reply-To: <Pine.BSF.4.51.0305181359070.76387@bowser.eecs.harvard.edu>
>You are missing the point. It is not true that building a program requires
>full recompilation. The point that Prof. Hickey made was that a program
>requires full recompilation if you make a change then build *native* code.
Actually, this kind of misses the point I was making (perhaps
poorly). There are some programs that have a minimum performance floor
below which they fail to function correctly because they have a "real time"
user feedback loop. Games are one example. You can't actually do useful
work on a game without being able to run it at reasonably interactive
framerates because of this feedback loop. It gets worse, because you have
another layer of algorithms that attempt to compensate for framerate
variances, and so you're not even running the same code at low framerates,
often times. So, I can't use the bytecode compiler for development and
haven't been able to for most of the lifetime of my project. (See posts
from over a year ago wishing I could link bytecode and native code modules
together for this feedback reason.)
It may be that the intersection of these two characteristics ("large scale
projects" and "realtime feedback requiring native compilation") is not an
interesting set for the caml team to target, although I would argue it's an
important target to support if a language is to be considered "general
purpose" and compete with C++. Unfortunately, this rules out a lot of
games, which is my area, and one of the places where caml could have a
chance at success because the project-based nature of the industry means
there are clear frequent opportunities to make a big language switch
(unlike industries that evolve code for decades). This is why I am
evaluating caml for games by writing my current game in it. I just wish I
would have known this "bug" existed before starting because it might have
changed my mind. Is this documented somewhere that I overlooked?
>In my experience, it isn't as bad as you make it sound like. Touching
>early modules doesn't cause a recompile of everything, only modules that
>directly depend on it. The inlining seems to only happen to one level.
I don't think this is true, since the recompile of the parent will mean the
recompile of its parents, won't it (it does in my tests)? And, even if it
was true, it's still not great, because you really want to be able to edit
algorithms in math3d.ml without recompiling the whole game.
Chris
-------------------
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 prev parent reply other threads:[~2003-05-18 23:21 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ocaml@tagger.yapper.org>
2003-03-31 16:51 ` [Caml-list] How can I check for the use of polymorphic equality? Neel Krishnaswami
2003-03-31 17:33 ` brogoff
2003-04-03 19:44 ` Jason Hickey
2003-04-03 20:40 ` Pierre Weis
2003-04-03 20:53 ` Chris Hecker
2003-04-04 8:46 ` Pierre Weis
2003-04-04 19:05 ` Jason Hickey
2003-04-04 9:10 ` Andreas Rossberg
2003-05-14 11:43 ` [Caml-list] ocaml and large development projects Traudt, Mark
2003-05-14 15:52 ` Jason Hickey
2003-05-18 5:32 ` Chris Hecker
2003-05-18 5:44 ` David Brown
2003-05-18 6:10 ` Chris Hecker
2003-05-18 11:13 ` John Carr
2003-05-18 16:51 ` Ed L Cashin
2003-05-18 18:08 ` Lex Stein
2003-05-18 19:08 ` Ed L Cashin
2003-05-18 19:55 ` Lex Stein
2003-05-19 8:13 ` Markus Mottl
2003-05-19 8:33 ` Nicolas Cannasse
2003-06-02 21:59 ` John Max Skaller
2003-05-18 23:19 ` Chris Hecker [this message]
2003-05-18 14:38 ` David Brown
2003-05-18 16:00 ` Ville-Pertti Keinonen
2003-05-19 15:36 ` Brian Hurt
2003-05-19 19:31 ` Chris Hecker
2003-05-19 23:39 ` Seth Kurtzberg
2003-05-20 8:07 ` [Caml-list] ocaml as *.so (was: ...and large development projects) Wolfgang Müller
2003-05-20 8:42 ` [Caml-list] Reading a file Siegfried Gonzi
2003-05-20 10:21 ` Mattias Waldau
2003-05-20 10:48 ` Nicolas Cannasse
2003-05-20 10:55 ` Markus Mottl
2003-05-20 13:20 ` Michal Moskal
2003-05-20 12:21 ` Siegfried Gonzi
2003-05-21 6:11 ` Siegfried Gonzi
2003-05-21 6:48 ` Siegfried Gonzi
2003-05-21 6:53 ` Siegfried Gonzi
2003-05-21 9:16 ` Markus Mottl
2003-05-21 10:04 ` Eray Ozkural
2003-05-21 16:20 ` brogoff
2003-05-21 8:21 ` Michal Moskal
2003-05-21 7:24 ` [Caml-list] PsiLAB works fine under Linux SuSE 8 Siegfried Gonzi
2003-05-21 9:11 ` [Caml-list] Reading a file Markus Mottl
2003-05-22 6:27 ` Siegfried Gonzi
2003-05-22 10:26 ` Markus Mottl
2003-05-23 5:59 ` Siegfried Gonzi
2003-05-23 6:04 ` Siegfried Gonzi
2003-05-20 10:45 ` [Caml-list] ocaml as *.so (was: ...and large development projects) Nicolas Cannasse
2003-05-20 11:17 ` Wolfgang Müller
2003-05-20 11:31 ` Nicolas Cannasse
2003-05-20 11:40 ` Wolfgang Müller
2003-06-02 22:40 ` John Max Skaller
2003-06-03 13:26 ` [Caml-list] ocaml as *.so Remi Vanicat
2003-06-02 22:42 ` [Caml-list] ocaml and large development projects John Max Skaller
2003-06-02 21:24 ` John Max Skaller
2003-06-02 21:12 ` John Max Skaller
2003-06-03 0:31 ` Chris Hecker
2003-06-03 10:13 ` Michal Moskal
2003-06-03 18:12 ` Chris Hecker
2003-06-03 14:31 ` art yerkes
2003-06-03 21:55 ` Jason Hickey
2003-06-03 22:42 ` Chris Hecker
2003-06-06 23:46 ` John Max Skaller
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=4.3.2.7.2.20030518155527.03225f30@localhost \
--to=checker@d6.com \
--cc=caml-list@inria.fr \
--cc=ecashin@uga.edu \
--cc=stein@eecs.harvard.edu \
/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