9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <forsyth@terzarima.net>
To: 9fans@cse.psu.edu
Subject: [9fans] asn.1 alternatives
Date: Sat, 11 Feb 2006 14:29:19 +0000	[thread overview]
Message-ID: <541ac7952476f11c319d81a7b9f7d516@terzarima.net> (raw)
In-Reply-To: <11d846ba1d1323cc1e956b2f67dfa6ec@plan9.bell-labs.com>

>> > What are the alternatives?  My pick is ASN.1, any time.  You can call
>> > the ITU-T by as many ugly names as you like, but their standards are
>> > considerably more firm than more recent publications.

when i need to represent more than simple text or values, or attribute value pairs, which isn't all that often,
more and more i use Rivest S-expressions, as i did on wednesday.
they are unambiguous (unlike both ASN.1 and XML),
easy to read and write, that can represent binary directly where that's appropriate,
with an `advanced textual form' (like it!) that people can read without suffering eye strain,
but with a well-defined canonical form (always helpful when comparing or signing things).

i keep intending to try armstrong's ubf, but haven't, yet.
it's perhaps more in the XML-RPC or ASN.1 realm.
it has some good ideas, anyhow.

simple text or values, or attribute value pairs are often adequate,
require little code to read or write, and are often more efficient when all
costs are taken into account.   if you're lacking a `standard' for something
you'd like to use, and you need that extra justification,
just write an RFC, and then say ``i'm following an existing RFC''.

on the other hand, if you're trying to talk certain existing protocols, you need some
quantity of ASN.1; if you're trying to interpret certain existing data, you might need some XML.
just remember, though, that no one needs `Web Services', the os/360 for
the 21st century, and the upas tree of distributed systems.
whenever it comes up, just hack round it, and even that is more than it deserves.

also, in my experience, managers (pointy-head or not) are rarely overly
caught up by the technical details.  they just want such-and-such a problem to go away.
they usually don't really care how you do it, especially if it works well
and they never ever have to cut short a trip to the golf course because of it.



  reply	other threads:[~2006-02-11 14:29 UTC|newest]

Thread overview: 24+ 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   ` Charles Forsyth [this message]
2006-02-11 14:54     ` [9fans] asn.1 alternatives 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
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 16:37 [9fans] asn.1 alternatives quanstro

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=541ac7952476f11c319d81a7b9f7d516@terzarima.net \
    --to=forsyth@terzarima.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).