caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re: [Caml-list] Unix.file_descr -> int ???
@ 2002-06-18 13:38 Alessandro Baretta
       [not found] ` <000101c21705$d9f23640$0501a8c0@lexifi01>
  0 siblings, 1 reply; 12+ messages in thread
From: Alessandro Baretta @ 2002-06-18 13:38 UTC (permalink / raw)
  To: Ocaml

I just realize I sent the following message only to 
Jean-Marc Eber, when it was meant to be for the mailing list.

Please excuse me.

Alex
-------- Original Message --------
Subject: Re: [Caml-list] Unix.file_descr -> int ???
Date: Thu, 13 Jun 2002 17:56:42 +0200
From: Alessandro Baretta <alex@baretta.com>
Organization: Baretta srl -- www.baretta.com
To: Jean-Marc Eber <jeanmarc.eber@lexifi.com>

Jean-Marc Eber wrote:
 > To be clear: I think that the "industrial" users need 
isn't an endless
 > extension
 > of the standard libraries (they cover today many, many 
needs, I think), but
 > an easy
 > integration with the "rest of us" (ole automation, Java, 
.NET,...).
 > For us (or, more preciselly, our potential customers), 
thats really the
 > _only_
 > "bottleneck" with ocaml.


I've heard the CEO of a 170 people  software company
declare: "Our clients don't want no Ocaml stuff! They don't
want no technology. They want *real_world* products on
*real_world* platforms: COBOL and .NET, that's what they want."

No comment. But if Ocaml could somehow "run on .NET", people
like the above CEO (an ex-mathematician and IBM researcher,
by the way) would be a whole lot more interested in Ocaml.

Alex


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


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

* Re: [Caml-list] Unix.file_descr -> int ???
       [not found] ` <000101c21705$d9f23640$0501a8c0@lexifi01>
@ 2002-06-18 22:41   ` Alessandro Baretta
  2002-06-19 16:22     ` John Max Skaller
  2002-06-20 11:23     ` Xavier Leroy
  0 siblings, 2 replies; 12+ messages in thread
From: Alessandro Baretta @ 2002-06-18 22:41 UTC (permalink / raw)
  To: Ocaml



Jean-Marc Eber wrote:
> happy that you posted it on the list.
> I didn't want to propose it to you, because I thank you wanted it to
> stay non public.
> JM


Oh, it was definitely meant to be public. It was astonishing 
for me to hear an ex-IBM researcher, a man on science, one 
would imagine, say that his customers are not interested in 
any new or advanced stuff. And I'm pretty sure he knows what 
he's talking about.

How can customers not realize that improvements in the 
production technology necessarily translate to reduced costs 
and improved quality? I'd be willing to pay more for a piece 
of software, if I had a compiler-generated proof that no 
segmentation fault can occur. There is a dose of absurdity 
in all this--although there is some sense, as well.

Xavier, let me ask a dumb question, if you don't mind: how 
do you choose which processor architectures to port ocamlopt 
to? Could .NET simply be regarded as a new "architecture" 
for ocamlopt?

At any rate, I am writing and deploying O'Caml programs. My 
customer has no internal EDP resources, so they are relying 
entirely on me. Of course, they did not ask what language I 
would write the code in. They only care to see it work, and 
they are not disappointed. Long live the Caml!

Alex

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


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

* Re: [Caml-list] Unix.file_descr -> int ???
  2002-06-18 22:41   ` Alessandro Baretta
@ 2002-06-19 16:22     ` John Max Skaller
  2002-06-20 11:23     ` Xavier Leroy
  1 sibling, 0 replies; 12+ messages in thread
From: John Max Skaller @ 2002-06-19 16:22 UTC (permalink / raw)
  To: Alessandro Baretta; +Cc: Ocaml

Alessandro Baretta wrote:

> How can customers not realize that improvements in the production 
> technology necessarily translate to reduced costs and improved quality? 

They don't realise it, because it isn't the case. They're right, in 
general -- meaning,
most of the time. Ocaml is high risk. It is unstable, there are few 
programmers
around, and you can't sue the Ocaml team if something doesn't work.
You can't *demand* a fix by saying 'I paid heaps of money for this
product, you better fix it or I'll sue'.

Of course, the reality is that Ocaml team is more likely
to be responsive. But as a counter-example, I found a bug months
ago that was only recently fixed: I couldn't force the ocaml team
to believe me that there really was a bug in the compiler.
I didn't have an expensive maintenance contract either.
So I have had to use Ocaml 3.01 for ages now. (I'm using
the CVS version now the bug is fixed).

I'm currently working on a project using Python.
The 'boss' is a programmer. We're opting for 1.5.2,
a well recognized, widely installed, stable version.
Yet Python 2.2.1 has major improvements, including
lexical scoping (Heh! functional programming in Python).

Why? Because when it comes to small productivity
improvement (maybe) against risk, management --
even technically aware management -- will chose
to minimise risk every time.

It makes sense. They just need the programs to make
their business run. A small increase in costs is less important
than risking a catastrophy.

To see what it takes to overcome this kind of barrier,
just look at how much money Sun has spent to promote
Java. (Oh dear, what a terrible setback for computing).

BTW: I used Ocaml in a heavy industrial setting ..
but it was for writing a compiler -- something Ocaml is
so very good at.  In this case, the timeframe for, say, a C++
solution would have meant they missed the boat entirely.
So sometimes, superior technology does win --
when the risk seems justified or low.

-- 
John Max Skaller, mailto:skaller@ozemail.com.au
snail:10/1 Toxteth Rd, Glebe, NSW 2037, Australia.
voice:61-2-9660-0850
-------------------
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


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

* Re: [Caml-list] Unix.file_descr -> int ???
  2002-06-18 22:41   ` Alessandro Baretta
  2002-06-19 16:22     ` John Max Skaller
@ 2002-06-20 11:23     ` Xavier Leroy
  2002-06-20 11:52       ` Markus Mottl
  2002-06-20 13:14       ` Alessandro Baretta
  1 sibling, 2 replies; 12+ messages in thread
From: Xavier Leroy @ 2002-06-20 11:23 UTC (permalink / raw)
  To: Alessandro Baretta; +Cc: Ocaml

> Oh, it was definitely meant to be public. It was astonishing 
> for me to hear an ex-IBM researcher, a man on science, one 
> would imagine, say that his customers are not interested in 
> any new or advanced stuff. And I'm pretty sure he knows what 
> he's talking about.

What's so surprising about this?  This man chose a particular line of
business where customers are not interested in new or advanced stuff.
Just like you could choose to manage a McDonald's and have no
professional interest in gourmet food or fine wines.

I'm not disturbed in the least by the fact that many computer
professionals couldn't care less about what we do.  (And conversely :-)
What I am concerned about is the well-meaning suggestions that we
should move towards "their" technologies in the vague hope that they
will pay more attention then.  They won't.

> They want *real_world* products on
> *real_world* platforms: COBOL and .NET, that's what they want."
> No comment. But if Ocaml could somehow "run on .NET", people
> like the above CEO (an ex-mathematician and IBM researcher,
> by the way) would be a whole lot more interested in Ocaml.

Again, I think this is a fallacy.  By the same logic:

"if OCaml could somehow 'look like COBOL', people like the above CEO 
 would be a lot more interested in OCaml".

"if Bordeaux red wines were carbonated, McDonald's would be a lot more
 interested in selling them".

You can make your own parallels: it's fun :-)

> Xavier, let me ask a dumb question, if you don't mind: how 
> do you choose which processor architectures to port ocamlopt 
> to?

By a combination of demand and availability (of a machine running said
architecture).

> Could .NET simply be regarded as a new "architecture" for ocamlopt?

Not at all.  .NET isn't just a (virtual) machine instruction set: it's
a whole infrastructure, including memory management, data
representation formats, systems services, libraries, etc.  All these
replace (and conflict with) those we have in the OCaml implementation.

Our past experiments in retargeting the OCaml implementation to .Net
failed because of this.  For more details, and an explanation of why
.Net is a real straight-jacket for innovative programming languages,
see a previous post of mine:
        http://caml.inria.fr/archives/200102/msg00190.html

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


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

* Re: [Caml-list] Unix.file_descr -> int ???
  2002-06-20 11:23     ` Xavier Leroy
@ 2002-06-20 11:52       ` Markus Mottl
  2002-06-20 13:14       ` Alessandro Baretta
  1 sibling, 0 replies; 12+ messages in thread
From: Markus Mottl @ 2002-06-20 11:52 UTC (permalink / raw)
  To: Xavier Leroy; +Cc: Alessandro Baretta, Ocaml

On Thu, 20 Jun 2002, Xavier Leroy wrote:
> I'm not disturbed in the least by the fact that many computer
> professionals couldn't care less about what we do.  (And conversely :-)
> What I am concerned about is the well-meaning suggestions that we
> should move towards "their" technologies in the vague hope that they
> will pay more attention then.  They won't.

I don't think that the problem is about moving towards "their"
technologies but moving OCaml and its tools towards "their" problem
domain. It's definitely not the job of INRIA to do this, though some
help might make this task easier for the commercial programmers among us
(not me).

This usually boils down to adhering to or defining somewhat accepted
standards. E.g., I suppose that many programmers would be happy about
locale support or libraries in the distribution that handle some
high-level standard internet protocols, etc.

It might be a good idea to define some set of rules that allows people
external to INRIA to write libraries in such a way that they could be
accepted in the standard distribution. Or even better, to define and
implement standard packaging schemes that make seamless integration of 3rd
party libraries easy. Then the community could much more effectively take
over the burden of providing OCaml-libraries and tools for commercial use.

Regards,
Markus Mottl

-- 
Markus Mottl                                             markus@oefai.at
Austrian Research Institute
for Artificial Intelligence                  http://www.oefai.at/~markus
-------------------
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


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

* Re: [Caml-list] Unix.file_descr -> int ???
  2002-06-20 11:23     ` Xavier Leroy
  2002-06-20 11:52       ` Markus Mottl
@ 2002-06-20 13:14       ` Alessandro Baretta
  2002-06-20 13:23         ` Stefano Lanzavecchia
  2002-06-20 14:42         ` YAMAGATA yoriyuki
  1 sibling, 2 replies; 12+ messages in thread
From: Alessandro Baretta @ 2002-06-20 13:14 UTC (permalink / raw)
  To: Xavier Leroy; +Cc: Ocaml

Xavier Leroy wrote:
> What's so surprising about this?  This man chose a particular line of
> business where customers are not interested in new or advanced stuff.
> Just like you could choose to manage a McDonald's and have no
> professional interest in gourmet food or fine wines.

It is not so much his choice as the choice of his customers, 
which, of course, he must adhere to. If his customers ask 
for MS-SQLserver he gives them that, although he openly 
declares to have a preference for DB2.  The same is with 
PLs. He mentioned a "fantastic" programming languange by the 
name of APL which he used to use when he was a researcher at 
IBM. (I'm sure you know about APL much better than I.) It is 
not without melancholy, he said, that has had to move 
towards more commercial systems, mainly Java, and more 
recently, given the massive marketing effort from Microsoft, 
towards .NET.

What I'm talking about is the scarce interest customers have 
for quality software development processes, which 
necessarily include quality programming languages, as 
opposed to caring about the marketing hype behind one 
platform or another. Have you seen the MS commercial where a 
robot begins to paint a car frame as soon as the customer 
declares his preference for that color, stops when the 
customer shows some indecision, and immediately resumes as 
the client confirms his first choice? Has this got anything 
at all to do with .NET?

It's just the same thing with teenagers and MacDonalds: is 
it good for their health to eat there? Definitely not. An 
education effort must be carried out with teenagers to teach 
them to eat pizza, which is good for them ;-) as opposed to 
hamburgers. (And, BTW, yes, I am Italian.) A similar 
education effort might make corporate customers aware of the 
fact that O'Caml is good for them, while MS is not. (And, 
yes, I'm also a Caml rider and Penguin breeder.)

> I'm not disturbed in the least by the fact that many computer
> professionals couldn't care less about what we do.  (And conversely :-)
> What I am concerned about is the well-meaning suggestions that we
> should move towards "their" technologies in the vague hope that they
> will pay more attention then.  They won't.

I don't mean to say that "we" (the Ocaml team at INRIA, 
really) should bow to the omnipotence of Big Bill, 
especially when the language needs special features in its 
VM in order to work, as you mention later on. Yet, it would 
be easier for me to market O'Caml applications if I could 
mention some commercial trademarks my customers have already 
heard. "O'Caml" is not a winner for a trademark, especially 
when you are confronted by the inevitable question: "What 
does it stand for?"

>>They want *real_world* products on
>>*real_world* platforms: COBOL and .NET, that's what they want."
>>No comment. But if Ocaml could somehow "run on .NET", people
>>like the above CEO (an ex-mathematician and IBM researcher,
>>by the way) would be a whole lot more interested in Ocaml.
> 
> 
> Again, I think this is a fallacy.  By the same logic:
> 
> "if OCaml could somehow 'look like COBOL', people like the above CEO 
>  would be a lot more interested in OCaml".
> 
> "if Bordeaux red wines were carbonated, McDonald's would be a lot more
>  interested in selling them".
> 
> You can make your own parallels: it's fun :-)

I don't think O'Caml should like like anything other than 
O'Caml, with the sole exception of DdR's CamlP4 and its 
revised syntax. The customers has no visibility of the 
language itself, but of the entire platform on which the 
software runs: VM, API and libraries. I don't know a lot 
about VMs, but I can definitely say the Caml VM is a whole 
lot faster and more efficient that Sun's JVM. I had to buy a 
new PC one year ago just to write--and run--a few thousand 
lines of Java. O'Caml work, on the other hand, requires no 
costly hardware. I really like the VM. But all this does not 
make it terribly attractive to my customers. As I already 
mentioned, it is mainly a marketing problem.

>>Xavier, let me ask a dumb question, if you don't mind: how 
>>do you choose which processor architectures to port ocamlopt 
>>to?
> 
> 
> By a combination of demand and availability (of a machine running said
> architecture).
> 
> 
>>Could .NET simply be regarded as a new "architecture" for ocamlopt?
> 
> 
> Not at all.  .NET isn't just a (virtual) machine instruction set: it's
> a whole infrastructure, including memory management, data
> representation formats, systems services, libraries, etc.  All these
> replace (and conflict with) those we have in the OCaml implementation.
> 
> Our past experiments in retargeting the OCaml implementation to .Net
> failed because of this.  For more details, and an explanation of why
> .Net is a real straight-jacket for innovative programming languages,
> see a previous post of mine:
>         http://caml.inria.fr/archives/200102/msg00190.html

Dumb question. Alright, forget it.

Thank you very much for your time and interest. I hope I am 
making some sense.

Alex

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


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

* RE: [Caml-list] Unix.file_descr -> int ???
  2002-06-20 13:14       ` Alessandro Baretta
@ 2002-06-20 13:23         ` Stefano Lanzavecchia
  2002-06-20 16:22           ` Alessandro Baretta
  2002-06-20 14:42         ` YAMAGATA yoriyuki
  1 sibling, 1 reply; 12+ messages in thread
From: Stefano Lanzavecchia @ 2002-06-20 13:23 UTC (permalink / raw)
  To: 'Ocaml'



> PLs. He mentioned a "fantastic" programming languange by the name of 
> APL which he used to use when he was a researcher at IBM. (I'm sure 
> you know about APL much better than I.) It is

I happen to be an APL programmer... And, yes, it is an amazing
programming language. With almost nothing in common with OCaml, except,
possibly, the not being a mainstream language.

> not without melancholy, he said, that has had to move
> towards more commercial systems, mainly Java, and more
> recently, given the massive marketing effort from Microsoft, 
> towards .NET.

http://www.dyadic.com/whatsnew/msnet.htm


> It's just the same thing with teenagers and MacDonalds: is
> it good for their health to eat there? Definitely not. An
> education effort must be carried out with teenagers to teach 
> them to eat pizza, which is good for them ;-) as opposed to 
> hamburgers. (And, BTW, yes, I am Italian.) A similar 

So am I. Italian, although quite original to be an Italian.

> education effort might make corporate customers aware of the fact that

> O'Caml is good for them, while MS is not. (And,

Please. Microsoft is not the evil incarnated. I believe that Microsoft
is good for a lot of corporate customers. The thing you must educate
people is that there are other good alternatives, if they work for them.
Make them aware and make the choose. Starting from the point of view
that Microsoft is bad is as bad not being educated. In case you wonder,
I am not affiliated in any way to Microsoft or Dyadic Software. I am a
free thinker. And yes, was also a Penguin breeder, back in the days when
a 486 50MHz was the Ferrari of Personal Computing.
-- 
WildHeart'2k2 - mailto:stf@apl.it
Homepage: currently offline

<<<All I Ever Learned, I Learned From Anime: ---
   There are always multiple light sources.>>>

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


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

* Re: [Caml-list] Unix.file_descr -> int ???
  2002-06-20 13:14       ` Alessandro Baretta
  2002-06-20 13:23         ` Stefano Lanzavecchia
@ 2002-06-20 14:42         ` YAMAGATA yoriyuki
  2002-06-21 16:16           ` [Caml-list] proposal for library Christophe Raffalli
  1 sibling, 1 reply; 12+ messages in thread
From: YAMAGATA yoriyuki @ 2002-06-20 14:42 UTC (permalink / raw)
  To: markus; +Cc: xavier.leroy, alex, caml-list

From: Markus Mottl <markus@oefai.at>
Subject: Re: [Caml-list] Unix.file_descr -> int ???
Date: Thu, 20 Jun 2002 13:52:37 +0200

> It might be a good idea to define some set of rules that allows people
> external to INRIA to write libraries in such a way that they could be
> accepted in the standard distribution.

and some degree of disclosure of the future development plan, or at
least, what INRIA team is working now, would help.  This would reduce
danger of duplicated works.

--
Yamagata Yoriyuki
http://www.mars.sphere.ne.jp/yoriyuki/
-------------------
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


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

* Re: [Caml-list] Unix.file_descr -> int ???
  2002-06-20 13:23         ` Stefano Lanzavecchia
@ 2002-06-20 16:22           ` Alessandro Baretta
  0 siblings, 0 replies; 12+ messages in thread
From: Alessandro Baretta @ 2002-06-20 16:22 UTC (permalink / raw)
  To: Stefano Lanzavecchia, Ocaml

Stefano Lanzavecchia wrote:
> 
> http://www.dyadic.com/whatsnew/msnet.htm
> 

I will certainly mention this to the aforementioned 
entrepreneur, who will certainly be interested in this.

>>education effort might make corporate customers aware of the fact that
>>O'Caml is good for them, while MS is not. (And,
> 
> 
> Please. Microsoft is not the evil incarnated. I believe that Microsoft
> is good for a lot of corporate customers. The thing you must educate
> people is that there are other good alternatives, if they work for them.
> Make them aware and make the choose. Starting from the point of view
> that Microsoft is bad is as bad not being educated. In case you wonder,
> I am not affiliated in any way to Microsoft or Dyadic Software. I am a
> free thinker. And yes, was also a Penguin breeder, back in the days when
> a 486 50MHz was the Ferrari of Personal Computing.

There is a fair amount of joke in what I wrote. I am a caml 
rider and penguin breeder, not a plane hijacker or suicide 
bomber. I advocate the technology I like best, and, from a 
professional standpoint, I integrate it in the projects I am 
assigned by my clients. I am professionally uninterested in 
MS products, albeit primarily for aesthetic reasons and 
personal taste.

Even you were affiliated with Microsoft or Dyadic software, 
you would still be entitled to free thought. I actually wish 
to thank you for sharing an interesting bit of information 
with me about APL and .NET.

Alex

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


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

* [Caml-list] proposal for library
  2002-06-20 14:42         ` YAMAGATA yoriyuki
@ 2002-06-21 16:16           ` Christophe Raffalli
  2002-06-22 11:56             ` Nicolas Cannasse
  0 siblings, 1 reply; 12+ messages in thread
From: Christophe Raffalli @ 2002-06-21 16:16 UTC (permalink / raw)
  To: caml-list

Le jeu 20/06/2002 à 16:42, YAMAGATA yoriyuki a écrit :
> From: Markus Mottl <markus@oefai.at>
> Subject: Re: [Caml-list] Unix.file_descr -> int ???
> Date: Thu, 20 Jun 2002 13:52:37 +0200
> 
> > It might be a good idea to define some set of rules that allows people
> > external to INRIA to write libraries in such a way that they could be
> > accepted in the standard distribution.
> 
> and some degree of disclosure of the future development plan, or at
> least, what INRIA team is working now, would help.  This would reduce
> danger of duplicated works.

Why not have a system of submission/referee for adding functions to
existing library (I am often mising for instance the usual List.flat_map
or List.rev_append in list.mli) or adding new library to the standard
OCaml ? 

There should exist some clearly written rules to respect, and the
referees should check that these rules are respected. The referees could
also ask for modification and so on ..

I do not think the INRIA team spend a lot of time adapting the libraries
when they do incompatible change to OCaml. And moreover, some libraries
could be maintained outside of INRIA (by the guy who created the
library) ?

I think this is interesting, because we often write some small library
of function that could be useful to every body ... so it is a nice way
to share them.

among the useful missing library that I am sure many people have
allready written, there are: library for multiset (using Map or
something better), partial order, etc ...

Morever, people could also submit optimized replacement for existing
libraries (using a compatible interface ans semantics, this is hard to
check for the referre). So this way we could get nice, complete and
efficient libraries for OCaml !

-- 
Christophe Raffalli
Université de Savoie
Batiment Le Chablais, bureau 21
73376 Le Bourget-du-Lac Cedex

tél: (33) 4 79 75 81 03
fax: (33) 4 79 75 87 42
mail: Christophe.Raffalli@univ-savoie.fr
www: http://www.lama.univ-savoie.fr/~RAFFALLI
-------------------
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


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

* Re: [Caml-list] proposal for library
  2002-06-21 16:16           ` [Caml-list] proposal for library Christophe Raffalli
@ 2002-06-22 11:56             ` Nicolas Cannasse
  0 siblings, 0 replies; 12+ messages in thread
From: Nicolas Cannasse @ 2002-06-22 11:56 UTC (permalink / raw)
  To: Christophe Raffalli, caml-list

> I think this is interesting, because we often write some small library
> of function that could be useful to every body ... so it is a nice way
> to share them.
>
> among the useful missing library that I am sure many people have
> allready written, there are: library for multiset (using Map or
> something better), partial order, etc ...
>
> Morever, people could also submit optimized replacement for existing
> libraries (using a compatible interface ans semantics, this is hard to
> check for the referre). So this way we could get nice, complete and
> efficient libraries for OCaml !

I also think it would be nice to have one big polymorphic data-structures
library ( a la C++ Standard Template Library ) including both mutable and
non-mutable structures and most of the common algorithms - and perhaps some
"misc" functions for strings and others.... If some people are interested by
opening a SourceForge ( or other CVS ) account to enable such development,
that will enable the whole community to design and write such a library.

Once it'll be complete and safe, I don't think there will be any problem for
putting it into the official distribution.

Nicolas Cannasse

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


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

* [Caml-list] proposal for library
@ 2002-07-08 10:42 Diego Olivier Fernandez Pons
  0 siblings, 0 replies; 12+ messages in thread
From: Diego Olivier Fernandez Pons @ 2002-07-08 10:42 UTC (permalink / raw)
  To: caml-list; +Cc: warplayer

Nicolas Carnasse a écrit :

> I also think it would be nice to have one big polymorphic data-
> structures library ( a la C++ Standard Template Library ) including 
> both mutable and non-mutable structures and most of the common
> algorithms - and perhaps some "misc" functions for strings and
> others...

Chris Okasaki avait annoncé il y a plusieurs années déjà une version
ML de sa librairie Edison actuellement seulement disponible en version
Haskell.
Ne voyant toujours pas la version ML venir, j'ai d'abord porté
quelques modules dont j'avais besoin, puis une partie de la libraire
(essentiellement les séquences).
J'avais en tête de poursuivre ce portage pendant les vacances.

Je dois cependant vous avertir sur un certain nombre de points :

- la création d'une librairie de structures de données n'est pas aussi
simple que cela pourrait en avoir l'air. J'en tiens pour preuve les
nombreuses discussions qui ont déjà eu lieu sur cette liste.

- la structure de la librairie Edison est un choix parmi d'autres
(tout comme la STL que vous prenez en exemple) est n'est pas
nécessairement le meilleur. Richard A. O'Keefe a dit avec raison dans
une discussion sur l'éventuel portage d'Edison vers Mercury « In
short, while we should certainly learn from Okasaki, we should not
imitate him slavishly ». 

- Ce qui vaut pour Edison vaut tout autant pour la STL. Je vous
renvoie à un article de Peyton Jones (Bulk types with class)

En somme votre affirmation « Once it'll be complete and safe, I don't
think there will be any problem for putting it into the official
distribution » n'est pas si évidente et un très important travail de
réflexion, discussion et concertation doit être fait au préalable.
Cela est d'autant plus vrai en Caml que ce dernier propose de nombreux
paradigmes de programmation (fonctionnelle, impérative, objets)

De surcroit, il faudrait y intégrer les nombreuses structures de
données déjà réalisées indépendamment par d'autres (patricia trees,
pomap, Splay trees, ...)

Pour ne pas finir sur une note négative, je signale quand même que la
présence d'une telle librairie, même si elle ne fait pas l'unanimité
serait interessante d'un point de vue pédagogique :

- implémentation fonctionnelle de structures de données (dans la
lignée du portage fait par Mottle des exemples du livre d'Okasaki)
- exemples élémentaires de programmation par objets (qui font parfois
défaut, comme l'ont prouvé certaines discussions sur cette liste, sur
la liste des débutants ou sur la liste ML)
- exemples de mélange fonctionnel / impératif

et surtout possibilité de comparer les différents paradigmes (puisque
les fonctionnalités offertes sont toujours les mêmes). C'est
d'ailleurs dans cette optique là que j'avais commencé le portage
d'Edison.

        Diego Olivier

 
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif


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


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

end of thread, other threads:[~2002-07-08 10:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-18 13:38 [Caml-list] Unix.file_descr -> int ??? Alessandro Baretta
     [not found] ` <000101c21705$d9f23640$0501a8c0@lexifi01>
2002-06-18 22:41   ` Alessandro Baretta
2002-06-19 16:22     ` John Max Skaller
2002-06-20 11:23     ` Xavier Leroy
2002-06-20 11:52       ` Markus Mottl
2002-06-20 13:14       ` Alessandro Baretta
2002-06-20 13:23         ` Stefano Lanzavecchia
2002-06-20 16:22           ` Alessandro Baretta
2002-06-20 14:42         ` YAMAGATA yoriyuki
2002-06-21 16:16           ` [Caml-list] proposal for library Christophe Raffalli
2002-06-22 11:56             ` Nicolas Cannasse
2002-07-08 10:42 Diego Olivier Fernandez Pons

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