caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Benjamin C. Pierce" <bcpierce@saul.cis.upenn.edu>
To: "Mattias Waldau" <mattias.waldau@abc.se>
Cc: "Rolf Wester" <rolf.wester@ilt.fhg.de>, caml-list@pauillac.inria.fr
Subject: Re: [Caml-list] Whither the Caml Consortium?
Date: Fri, 26 Oct 2001 04:45:39 EDT	[thread overview]
Message-ID: <19987.1004085939@saul.cis.upenn.edu> (raw)
In-Reply-To: Message from "Mattias Waldau" <mattias.waldau@abc.se>  of "Wed, 24 Oct 2001 15:52:46 +0200." <AAEBJHFJOIPMMIILCEPBMEOCDDAA.mattias.waldau@abc.se>

> However, not so many people need syncronization.

It's a little difficult to tell precisely, but we estimate the current
size of the Unison user community at between 1000 and 3000.  My sense is
that the latent demand is much larger -- we have grown to this size with
very little advertising of any kind.  I don't know if this qualifies as a
killer app for you, but it's clearly moved beyond the ivory tower at this
point.

(One thing that has surprised me is how many windows-only users we seem
to have.  Since there are several pretty good commercial synchronizers
for Windows, I'd have expected a smaller demand from this community.)

> > But even if you have a killer-app written in OCaml you will still have to explain 
> > to your manager (and even more your colleagues) why you would not have 
> > been able to write this app in C++ or Java (or why it would have been much
> > more effort to do it in another language). I think that because competing 
> > languages are advertised with buzzwords and their list of "advantages" 
> > OCaml should be advertised too. 

An early version of Unison was written in Java.  In many ways, this was
fine (Java is a pretty nice language, if you don't mind the fact that
your code gets about 10x longer than an equivalent ML version), but there
were several serious problems with Java:

[Disclaimer -- we switched to OCaml three years ago, and some of these
points have undoubtedly gotten somewhat better in the interim.]

   - poor run-time performance (huge memory footprints, poor GC, etc.,
     etc.) 

   - poor portability (despite all the "write-once-run-anywhere" hype, we 
     had neverending hassles with this -- different Swing bugs on
     different platforms, Linux implementation always a year behind
     Windows and Solaris, etc., etc.)

   - poor system-level APIs (in particular, no support for critical
     filesytem operations like fstat)

   - poor distribution support (RMI is a nice design, but the
     implementation was unbelievably heavy and expensive)
   
When we switched to OCaml, all these hassles vanished.  The one technical
downside was that going to OCaml involved doing a certain amount of work
ourselves that was done for us in Java.  In particular, we had to roll
our own RPC package.  However, once this was done, we had something that
was right for the job, and that we could understand and control.
Moreover, it was fun. :-)

There is also, of course, a social downside of using OCaml rather than
Java: the developer pool is *much* smaller.  However, I don't think this
has really made much of a difference for the success of the project --
although the code is GPLed, most of it is pretty intense, and I suspect
that there are not that many people even in the bigger Java community
that would be capable of picking it up and contributing to the effort
without significant help from us (e.g., spending a summer at Penn, or
whatever).  Conversely, switching to OCaml has made a huge difference for
the core development team, and this has contributed significantly to the
overall success of the project.

All things considered, switching to OCaml was a huge win for Unison.

    -- B
    
P.S...

> Unison could be a killer application, but it lacks all user friendliness.

I'd be interested to hear more about what you meant by this (perhaps
off-list).

-----------------------------------------------------------------------------
BENJAMIN C. PIERCE
Associate Prof., Computer & Information Science        bcpierce@cis.upenn.edu
University of Pennsylvania                                    +1 215 898-2012
200 South 33rd St.                                       Fax: +1 215 898-0587
Philadelphia, PA 19104, USA                http://www.cis.upenn.edu/~bcpierce
-----------------------------------------------------------------------------





    
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


  parent reply	other threads:[~2001-10-26 20:13 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-15 20:37 Brian Rogoff
2001-10-15 20:55 ` Patrick M Doane
2001-10-19 23:23   ` Michel Mauny
2001-10-20  2:50     ` Brian Rogoff
2001-10-20  3:58       ` Julian Assange
2001-10-20 15:29       ` Markus Mottl
2001-10-21  1:17         ` Brian Rogoff
2001-10-21 23:06           ` Markus Mottl
2001-10-22 15:47             ` Rolf Wester
2001-10-23 10:22               ` Markus Mottl
2001-10-23 13:41                 ` Rolf Wester
2001-10-24 13:52                   ` Mattias Waldau
2001-10-24 14:11                     ` Markus Mottl
2001-10-24 14:18                     ` Cuihtlauac ALVARADO
2001-10-25  6:05                       ` Sven
2001-10-26 14:16                       ` Dmitry Bely
2001-10-26 15:51                         ` Francois Rouaix
2001-10-26  8:45                     ` Benjamin C. Pierce [this message]
2001-10-24 13:59                   ` Markus Mottl
2001-10-25  9:54                   ` Frank Atanassow
2001-10-24 13:56                 ` Mike Leary
2001-10-22 17:25         ` Michel Mauny
2001-10-22 17:36           ` Ken Rose
2001-10-22 19:08             ` Markus Mottl
2001-10-23 10:08               ` Daniel de Rauglaudre
2001-10-23 10:52                 ` Markus Mottl
2001-10-24 14:48             ` Xavier Leroy
2001-10-24 15:17               ` Markus Mottl
2001-10-24 17:35               ` Joshua D. Guttman
2001-10-25 18:46                 ` Michel Mauny
2001-10-24 15:57             ` Sven
2001-10-24 17:05               ` georges mariano
2001-10-25  6:13                 ` Sven
2001-10-25 17:36                   ` Michel Mauny
2001-10-25 10:00               ` Hendrik Tews
2001-10-25 15:45                 ` Fabrice Le Fessant
2001-10-30  8:52                   ` Hendrik Tews
2001-10-30  9:21                     ` Fabrice Le Fessant
2001-10-25 18:37                 ` Michel Mauny
2001-10-26  9:56                 ` Sven
2001-10-30  9:00                   ` Hendrik Tews
2001-10-26 12:13                 ` [Caml-list] user contributions to the core OCaml distribution? Xavier Leroy
2001-10-29 11:15                   ` Sven
2001-10-22 18:41           ` [Caml-list] Whither the Caml Consortium? Markus Mottl
2001-10-22 18:47       ` Xavier Leroy

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=19987.1004085939@saul.cis.upenn.edu \
    --to=bcpierce@saul.cis.upenn.edu \
    --cc=caml-list@pauillac.inria.fr \
    --cc=mattias.waldau@abc.se \
    --cc=rolf.wester@ilt.fhg.de \
    /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;
as well as URLs for NNTP newsgroup(s).