Browse thread
[Caml-list] Operators for Int64 and Int32
[
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: | 2008-04-04 (01:48) |
From: | Erik de Castro Lopo <mle+ocaml@m...> |
Subject: | Re: [Caml-list] Operators for Int64 and Int32 |
Richard Jones wrote: > I know that libsndfile is written in C, but I'd be interested to know > how much bitmatch > (http://et.redhat.com/~rjones/bitmatch/html/Bitmatch.html) might or > might not make a putative OCaml version easier to write. The hard bit has almost nothing to do with programming language and almost everything to do with WAVE (and AIFF and all the other formats) being extremely poorly and/or loosely specified, with over 100 data encoding variants and dozens of broken implementations in the field. Very early in the libsndfile development process I came up with a good way of packing and unpacking the headers (ie effectively the same functionality as bitmatch) and everything has been built on top of that. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "You can have quality software, or you can have pointer arithmetic; but you cannot have both at the same time." -- Bertrand Meyer, 1989