Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: -- (:)
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 Archives:
Bug reports: FAQ:
Beginner's list: