caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] proposal for library
@ 2002-07-08 10:42 Diego Olivier Fernandez Pons
  0 siblings, 0 replies; 3+ 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] 3+ messages in thread
* Re: [Caml-list] Unix.file_descr -> int ???
@ 2002-06-18 22:41 Alessandro Baretta
  2002-06-20 11:23 ` Xavier Leroy
  0 siblings, 1 reply; 3+ 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] 3+ messages in thread

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-08 10:42 [Caml-list] proposal for library Diego Olivier Fernandez Pons
  -- strict thread matches above, loose matches on Subject: below --
2002-06-18 22:41 [Caml-list] Unix.file_descr -> int ??? Alessandro Baretta
2002-06-20 11:23 ` Xavier Leroy
2002-06-20 11:52   ` Markus Mottl
2002-06-20 13:14     ` 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

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