<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/07/5a14a3ffdecf0d03dfe19479b2179ed2"
  from="William Lovas &lt;wlovas@s...&gt;"
  author="William Lovas"
  date="2003-07-21T15:18:45"
  subject="Re: [Caml-list] Roadplan for world domination (or constructive criticism of ocaml facilities)"
  prev="2003/07/998efdd5551e8b337991d9f4873b5bf8"
  next="2003/07/44de6457bd9fde8e64c7d1592dc8de5e"
  prev-in-thread="2003/07/e10127791c425c583a2239eb023093ef"
  next-in-thread="2003/07/2f7391ad9fc07a014aad5c5530f2ec53"
  prev-thread="2003/07/5d2fdf4a723ea61c443961a0ab49053d"
  next-thread="2003/07/ef60d4603922f2d2f781f8553631d16a"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Roadplan for world domination (or constructive criticism of ocaml facilities)">
<msg 
  url="2003/07/d9acf3fc30207c13fdb566843f1b031c"
  from="Chris Clearwater &lt;chris@s...&gt;"
  author="Chris Clearwater"
  date="2003-07-18T21:21:36"
  subject="[Caml-list] Roadplan for world domination (or constructive criticism of ocaml facilities)">
<msg 
  url="2003/07/ea88f0a762dce2584b0efc4c9a7e8244"
  from="Sylvain LE GALL &lt;sylvain.le-gall@p...&gt;"
  author="Sylvain LE GALL"
  date="2003-07-19T12:29:30"
  subject="Re: [Caml-list] Roadplan for world domination (or constructive criticism of ocaml facilities)">
</msg>
<msg 
  url="2003/07/e10127791c425c583a2239eb023093ef"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2003-07-19T15:38:32"
  subject="Re: [Caml-list] Roadplan for world domination (or constructive criticism of ocaml facilities)">
</msg>
<msg 
  url="2003/07/5a14a3ffdecf0d03dfe19479b2179ed2"
  from="William Lovas &lt;wlovas@s...&gt;"
  author="William Lovas"
  date="2003-07-21T15:18:45"
  subject="Re: [Caml-list] Roadplan for world domination (or constructive criticism of ocaml facilities)">
<msg 
  url="2003/07/2f7391ad9fc07a014aad5c5530f2ec53"
  from="Eray Ozkural &lt;exa@k...&gt;"
  author="Eray Ozkural"
  date="2003-07-25T20:27:23"
  subject="Re: [Caml-list] Roadplan for world domination (or constructive criticism of ocaml facilities)">
<msg 
  url="2003/07/320e0499de1c5ba5030cbf85d4558f05"
  from="Stefano Zacchiroli &lt;zack@b...&gt;"
  author="Stefano Zacchiroli"
  date="2003-07-26T07:36:32"
  subject="Re: [Caml-list] Roadplan for world domination (or constructive criticism of ocaml facilities)">
<msg 
  url="2003/07/dfa9f67c0326317cde19619827146f59"
  from="Eray Ozkural &lt;exa@k...&gt;"
  author="Eray Ozkural"
  date="2003-07-27T17:23:29"
  subject="Re: [Caml-list] Roadplan for world domination (or constructive criticism of ocaml facilities)">
</msg>
</msg>
</msg>
</msg>
<msg 
  url="2003/07/dd4eee1da1c0f5324a3e55b705d52598"
  from="Warren Harris &lt;wh232@p...&gt;"
  author="Warren Harris"
  date="2003-07-26T20:15:05"
  subject="Re: [Caml-list] Roadplan for world domination">
<msg 
  url="2003/07/c546c6fd40c929e9dafaa1c48b5a9e7e"
  from="Guillaume Marceau &lt;gmarceau@c...&gt;"
  author="Guillaume Marceau"
  date="2003-07-28T14:39:31"
  subject="Re: [Caml-list] Roadplan for world domination">
</msg>
<msg 
  url="2003/07/2ab4d468bda5c3438af6cd095bb30130"
  from="Damien Doligez &lt;Damien.Doligez@i...&gt;"
  author="Damien Doligez"
  date="2003-07-29T12:38:35"
  subject="Re: [Caml-list] Roadplan for world domination">
</msg>
</msg>
</msg>
</thread>

<contents>
On Fri, Jul 18, 2003 at 04:21:14PM -0500, Chris Clearwater wrote:
&gt; 3) Now that we have a easy cross-platform way to compile ocaml applications we
&gt; can just distibute our code with Makefiles that call ocamlmake! WRONG.
&gt; Makefiles suck. Now we standardize on the idea of an Ocaml "package".
&gt; [...]

I have to disagree with you on this idea.  I've been working recently on a
project written in SML, and one of the things i miss most about O'Caml is
its nice interaction with the standard tools (not to mention its separate
compilation strategy! *sigh*).

The one thing not standardized by the Standard ML definition is compilation
strategy, and as a result, every SML implementation has its own idea of the
"right" way to compile a project.  One can write standards-conformant code
and still have to write a bunch of specific build-scripts, each one in its
own arcane language, and quite possibly each one adhering to a vastly
different *philosophy* of compilation -- learning them all may well be a
lifetime's work.  In my humble opinion, this is a major fault of SML.

As a concrete example, SML/NJ has a built-in "Compilation Manager" module,
and to compile a project, you have start up a top-level and run the
`CM.make' function.  It was quite a shock to me not to be able to compile
something from the command line, coming from the O'Caml world, where the
compiler is mature, simple, and idiomatic (at least from a Unix user's
perspective).

For O'Caml to come up with its own incompatible compilation philosophy
seems like a step backwards.  We *already have* nice, simple ways of
interacting with the standard tools (like `make', and `ld') -- throwing all
that away smacks of "not-invented-here" syndrome.  It may be tempting to
climb up into our ivory tower and say, "We can do better than the status
quo!", but i think that attitude is better reserved for improving and
extending the language itself.

If you want a better `make', then write a better `make' -- but keep it
general purpose, and keep the O'Caml compiler's interface simple enough to
interact with *either* `make'.

cheers,
William

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

</contents>

</message>

