From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 2BCE6BCAE for ; Fri, 24 Jun 2005 20:25:47 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j5OIPkoS028658 for ; Fri, 24 Jun 2005 20:25:46 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA24400 for ; Fri, 24 Jun 2005 20:25:46 +0200 (MET DST) Received: from smtp5.wanadoo.fr (smtp5.wanadoo.fr [193.252.22.26]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j5OIPje0002550 for ; Fri, 24 Jun 2005 20:25:45 +0200 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0501.wanadoo.fr (SMTP Server) with ESMTP id A5F321C000C0 for ; Fri, 24 Jun 2005 20:25:45 +0200 (CEST) Received: from morgana (ARennes-257-1-36-71.w81-53.abo.wanadoo.fr [81.53.19.71]) by mwinf0501.wanadoo.fr (SMTP Server) with ESMTP id 6F6E01C0008C; Fri, 24 Jun 2005 20:25:45 +0200 (CEST) X-ME-UUID: 20050624182545456.6F6E01C0008C@mwinf0501.wanadoo.fr Received: from david by morgana with local (Exim 4.50) id 1Dlss4-00018Q-26; Fri, 24 Jun 2005 20:25:44 +0200 To: Eric Stokes Cc: Jean-Marie Gaillourdet , jtbryant@valdosta.edu, caml-list@inria.fr Subject: XDR and ASN.1 (was: Re: [Caml-list] How INRIA people envision OCaml's parallel future?) References: <3d13dcfc05062300215e4be9ee@mail.gmail.com> <1119547256.4675.12.camel@starlight.valdosta.edu> <1119603126.8485.4.camel@localhost.localdomain> <3d13dcfc050624023670d3aed2@mail.gmail.com> <3d13dcfc050624055027743339@mail.gmail.com> <5C834758-1619-4325-8CD9-95F8344052A7@csun.edu> From: David MENTRE Organization: none Date: Fri, 24 Jun 2005 20:25:43 +0200 In-Reply-To: <5C834758-1619-4325-8CD9-95F8344052A7@csun.edu> (Eric Stokes's message of "Fri, 24 Jun 2005 09:59:41 -0700") Message-ID: <87is03wr14.fsf_-_@linux-france.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at concorde with ID 42BC502A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 42BC5029.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; asn:01 caml-list:01 ocaml's:01 gerd:01 compiler:01 sockets:01 asn:01 ber:98 unix:01 writes:01 data:02 filesystem:02 envision:03 perhaps:03 structure:04 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: Hello Eric, Eric Stokes writes: > 1. Gerd Stolpman has one of the best XDR RPC libraries written for any > language, it can certainly help improve the safety of a parallel > program a lot by enforcing that data is exchanged in a type safe > fashion, and it is also quite fast. It has a very nice rpc compiler > which allows one to specify fairly painlessly the structure of > messages. For your purposes, you could use unix domain sockets for > transport, perhaps even using socketpair to avoid book keeping on the > filesystem. http://ocaml-programming.de/packages/ I'm already using Gerd's RPC code to manage communication between my client and server. I second the praise of Gerd's code. > 2. If you prefer ASN.1 and BER Well, after doing some work on H.323 and related protocols, I try to avoid ASN.1 by all means. Speak of an overbloated protocol description system! Yours, d. -- pub 1024D/A3AD7A2A 2004-10-03 David MENTRE 5996 CC46 4612 9CA4 3562 D7AC 6C67 9E96 A3AD 7A2A