9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: geoff@collyer.net
To: 9fans@cse.psu.edu
Subject: Re: ASN.1 (Was: [9fans] More 'Sam I am')
Date: Sat, 11 Feb 2006 00:44:40 -0800	[thread overview]
Message-ID: <15a9d8a1081d2bc1bf06060a5a7982c5@collyer.net> (raw)
In-Reply-To: <405ca1d414195c2e2e9a0f02acdd313d@proxima.alt.za>

Hmm, the old language-specific argument.  The usual solution to this
is to use a binary encoding, the theory being that by avoiding words,
you avoid chauvinism.  I'd still rather have a textual format, even if
the attribute names have to be translated for speakers of other
languages (they'd have to translate a binary encoding into their own
language anyway).  If we wanted to inconvenience everyone equally, the
attribute names could be gibberish.

I'm not convinced that the slight inefficiency matters, particular for
a message format.  We do build indices in /lib/ndb to speed searches,
but that's for searching, not just encoding for transmission.  If
you're thinking of binary-decimal conversion overheads, one could
insist upon using octal representation (as tar does), which can be
converted more quickly than decimal, though that does make it a little
less human-friendly.

There has to be mapping between message format and something like a C
struct (some internal representation).  ASN.1 attempts to describe
both, as I understand it, to facilitate conversion between the two.



  reply	other threads:[~2006-02-11  8:44 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-11  0:10 [9fans] More 'Sam I am' quanstro
2006-02-11  3:01 ` jmk
2006-02-11 14:29   ` [9fans] asn.1 alternatives Charles Forsyth
2006-02-11 14:54     ` Sape Mullender
2006-02-11 16:13       ` lucio
2006-02-11 16:57       ` Skip Tavakkolian
2006-02-11 16:05     ` lucio
2006-02-11 17:52       ` Marina Brown
2006-02-11 16:28     ` Dan Cross
2006-02-11 16:53       ` Charles Forsyth
2006-02-11 22:47       ` Brantley Coile
2006-02-20  0:04     ` Harri Haataja
2006-02-11  6:04 ` ASN.1 (Was: [9fans] More 'Sam I am') lucio
2006-02-11  6:54   ` geoff
2006-02-11  8:06     ` lucio
2006-02-11  8:44       ` geoff [this message]
2006-02-11 12:10         ` lucio
2006-02-11  8:55     ` Steve Simon
2006-02-11  9:16       ` Bruce Ellis
2006-02-11  7:04   ` Skip Tavakkolian
2006-02-11  7:09     ` geoff
2006-02-11  7:53       ` lucio
2006-02-11  7:53       ` Skip Tavakkolian
2006-02-11 14:37 quanstro
2006-02-11 14:38 quanstro
2006-02-11 15:52 ` lucio
2006-02-11 22:17   ` Christopher Nielsen
2006-02-11 22:24     ` Russ Cox
2006-02-11 22:26       ` Christopher Nielsen
2006-02-11 22:34         ` Russ Cox
2006-02-11 23:38           ` Skip Tavakkolian
2006-02-11 22:47             ` Bruce Ellis
2006-02-11 16:18 quanstro
2006-02-11 19:41 ` lucio
2006-02-11 20:47 ` Richard Miller
2006-02-11 20:10 quanstro
2006-02-12  3:11 ` Jack Johnson
2006-02-12  3:16   ` Bruce Ellis
2006-02-12  3:57 ` lucio
2006-02-12  5:46   ` Bruce Ellis

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=15a9d8a1081d2bc1bf06060a5a7982c5@collyer.net \
    --to=geoff@collyer.net \
    --cc=9fans@cse.psu.edu \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).