From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 9226CBB9C for ; Thu, 17 Nov 2005 10:25:29 +0100 (CET) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.202]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jAH9PSEv010244 for ; Thu, 17 Nov 2005 10:25:29 +0100 Received: by xproxy.gmail.com with SMTP id s7so2014638wxc for ; Thu, 17 Nov 2005 01:25:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Jkh7/0f4UXQbH8om4ICmAGKfEkbyhhv7CycC6wvj5Quj8C33seyccwlbgd1/aBWYAJeai4vkCX4BE3RtDiyLj/shwdmKltTvRPAW2AA3IToL5eiDQQ8uyBYWgQRk0tsnRAK/F48UyFLAHZKNvFNZ1PslPTuOBFF5hLI8rkaZtf8= Received: by 10.64.183.13 with SMTP id g13mr1914598qbf; Thu, 17 Nov 2005 01:25:28 -0800 (PST) Received: by 10.64.10.5 with HTTP; Thu, 17 Nov 2005 01:25:28 -0800 (PST) Message-ID: Date: Thu, 17 Nov 2005 22:25:28 +1300 From: Jonathan Roewen To: Damien Bobillot Subject: Re: [Caml-list] Video/Audio codecs in ocaml Cc: caml-list@yquem.inria.fr In-Reply-To: <640063C5-4B83-4635-9E9B-755E0F80D5A3@m4x.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <640063C5-4B83-4635-9E9B-755E0F80D5A3@m4x.org> X-Miltered: at nez-perce with ID 437C4C88.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 ocaml:01 simd:01 rewriting:01 ffmpeg:01 slower:01 checking:02 checking:02 bounds:02 linking:02 module:03 okay:07 i'm:08 i'm:08 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 > With OCaml you can't use features like SIMD instructions of CPUs, and > will do many bound checking, so it will be slower. > I'm a bit sceptical that ocaml may be as good as C for pure signal > processing. Oh okay. Ah well, I'm doing a pure OCaml OS anyways, so we'll just have to wait and see. Can bounds checking be disabled for just one module? > Writing a mpeg2 decoder won't take less than a week !!! We'll see. It'd be more like rewriting something like libmpeg2 in ocaml I think. It'd be a damn good attempt anyways ;-) > If you have to write something, a ocaml wrapper for ffmpeg may be a > good start. No linking of program specific C code into OS, I'm afraid. Jonathan