Browse thread
[Caml-list] Is anyone using caml for music or sound synthesis?
-
Will Benton
-
Oleg
-
Travis Bemann
- Nicolas Cannasse
- Xavier Leroy
-
Travis Bemann
- Thorsten Ohl
-
Oleg
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 or > 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 allocations. 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