From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Re[1]: struct.el -- a package to encode/decode binary data Date: 19 Mar 2002 13:56:31 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: <5xlmcod8cg.fsf@kfs2.cua.dk> References: <5x1yehpj1w.fsf@kfs2.cua.dk> <200203190138.g2J1cKN17854@beta.siege-engine.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1016542639 32477 127.0.0.1 (19 Mar 2002 12:57:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 19 Mar 2002 12:57:19 +0000 (UTC) Cc: emacs-devel@gnu.org Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16nJB0-0008Rj-00 for ; Tue, 19 Mar 2002 13:57:18 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16nJGI-0005px-00 for ; Tue, 19 Mar 2002 14:02:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16nJAq-0004IM-00; Tue, 19 Mar 2002 07:57:08 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16nJ9M-0004Fj-00 for ; Tue, 19 Mar 2002 07:55:36 -0500 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id 1E3047C035; Tue, 19 Mar 2002 12:55:33 +0000 (GMT) Original-To: "Eric M. Ludlam" In-Reply-To: <200203190138.g2J1cKN17854@beta.siege-engine.com> Original-Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2038 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2038 "Eric M. Ludlam" writes: > I wrote something for packing X messages via a TCP socket. You could > define the message in a vector and it would pack and unpack the item. > It was X centric, and you could encode sizes for X's dynamic length > fields. I looked at your code, and I can see we are touching on similar grounds here, but there are quite fundamental differences in each approach, so I guess both packages will have their uses (and users). Notably, my package separates format and data in a pretty generic way, while your package tends to mix data and format which is less generic, but probably somewhat easier to use for some purposes. Also, your package has much more versatile ways of recognizing / guessing the actual format of some data -- but I think that part is pretty X-centric in its current form. I'll probably have to look into this aspect for my package to be more complete (I have some ideas about how to add `union' support). -- Kim F. Storm http://www.cua.dk _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel