From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 498EBBCAE for ; Thu, 30 Jun 2005 15:01:23 +0200 (CEST) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j5UD1MFU003358 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 30 Jun 2005 15:01:23 +0200 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1Dnykh-00077z-00; Thu, 30 Jun 2005 14:06:47 +0100 Date: Thu, 30 Jun 2005 14:06:47 +0100 To: Jonathan Roewen Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] enumerations & ioctls Message-ID: <20050630130647.GA27372@furbychan.cocan.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Richard Jones X-Miltered: at concorde with ID 42C3ED22.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 variants:01 binary:01 ioctl:01 variants:01 notepad:01 wrote:01 polymorphic:01 static:03 compiled:04 thu:05 marketing:93 linked:06 load:08 memory:08 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: On Thu, Jun 30, 2005 at 11:14:07PM +1200, Jonathan Roewen wrote: > Is the best way to achieve this with those polymorphic variants? And > how much does this affect type safety? A bigger worry is how this is all going to get linked together. Do you link your device drivers, OS and programs together into a static binary? Does the ioctl call cross over a memory/program boundary? Do you want to add variants later, after the programs have been compiled, or when you load new device drivers? Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com