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] Is anyone using caml for music or sound synthesis?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-08-09 (07:43)
From: Nicolas Cannasse <warplayer@f...>
Subject: Re: [Caml-list] Is anyone using caml for music or sound synthesis?
> Speaking of multimedia,  would GC prevent people from writing, say, an mp3
> a mpeg player in O'Caml?
>Probably not, because OCaml uses an incremental generational garbage
>collector that is rather configurable, so therefore one would probably
>be able to configured the garbage collector to limit GC during
>playing, combined with generally programming in a fashion that would
>avoid allocation (as allocation tends to cause GC to occur, AND
>allocation creates new blocks that have to be GCed once they aren't
>used anymroe).

Yes but such algorithms are making a large use of float calculations, and
ocaml float are boxed into a block, so such calcs could trigger multiples

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