all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: Re[1]: struct.el -- a package to encode/decode binary data
Date: 19 Mar 2002 13:56:31 +0100	[thread overview]
Message-ID: <5xlmcod8cg.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <200203190138.g2J1cKN17854@beta.siege-engine.com>

"Eric M. Ludlam" <eric@siege-engine.com> 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 <storm@cua.dk> http://www.cua.dk


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  reply	other threads:[~2002-03-19 12:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-18 23:12 struct.el -- a package to encode/decode binary data Kim F. Storm
2002-03-19  0:25 ` Miles Bader
2002-03-19  1:38 ` Re[1]: " Eric M. Ludlam
2002-03-19 12:56   ` Kim F. Storm [this message]
2002-03-19 13:26     ` Re[3]: " Eric M. Ludlam
2002-03-19  7:02 ` Eli Zaretskii
2002-03-19 12:34   ` Stefan Monnier
2002-03-19 14:38     ` Eli Zaretskii
2002-03-19 14:33 ` Luke Gorrie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5xlmcod8cg.fsf@kfs2.cua.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.