From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Date: Wed, 12 Aug 2009 21:33:03 -0700 From: Roman Shaposhnik In-reply-to: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-id: <9D912E66-C3DA-4F41-914D-2AF77BC4BEC8@sun.com> References: Subject: Re: [9fans] Thrift RPC Topicbox-Message-UUID: 45022f06-ead5-11e9-9d60-3106f5b1d025 On Aug 12, 2009, at 8:49 PM, Tim Newsham wrote: >> Am I totally missing something or hasn't been the binary RPC >> of that style been dead ever since SUNRPC? Hasn't the eulogy >> been delivered by CORBA? Haven't folks realized that S-exprs >> are really quite good for data serialization in the heterogeneous >> environments (especially when they are called JSON) and you >> really shouldn't be made to figure out how large is the integer >> on a host foo? > > Just because the world is full of XML zealots does not mean that XDR > (ONC RPC), NDR (DCE RPC) Well, they sure smell that way. The only non trivial application of SUN RPC still in existence that I know of is NFS (plus its evil twins). I would be very curious to know if you have examples of interesting apps using both types of RPC. > and others are dead. Neither of these makes you figure out how > large the integer on host foo is (thats half the point). What's your method of portably stuffing a *native* 64 int (the one from the ILP64 type of ABIs)? > I personally like the XDR standard (I can do without NDR and BER/DER). Here's an honest question: do you really like debugging rpcgen emitted code? Thanks, Roman.