English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Request: matrix_init function in Array
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-02-19 (16:46)
From: cashin@c...
Subject: Re: [Caml-list] Re: feature priorities (multithreading)
James Leifer <James.Leifer@inria.fr> writes:

> What kind of multithreading features do you need?  It would be
> interesting to understand what would be useful in Ocaml, especially
> from people who have worked with Erlang, for example.

Personally, I try to avoid threads because they usually make my
programs less portable and sometimes more complex.  But many people
who do parallelizable computation, like scientific computations
involving matrices, like to increase performance by taking advantage
of SMP architectures.

If the threads in a program only run on one processor, then all you
have is the overhead.  If they run on different processors at the same
time, with access to the same main memory but with independent caches,
then the performance benefits start to compensate for the extra
complexity of multithreading.

--Ed L Cashin            |   PGP public key:
  ecashin@uga.edu        |   http://noserose.net/e/pgp/

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