From: John Cowan <cowan@ccil.org>
To: Richard Salz <rich.salz@gmail.com>
Cc: TUHS main list <tuhs@minnie.tuhs.org>
Subject: Re: [TUHS] tangential unix question: whatever happened to NeWS?
Date: Mon, 25 Jan 2021 21:45:06 -0500 [thread overview]
Message-ID: <CAD2gp_RsiayPg+xyEYK7AwrkuO0NS7f4o4pZ6JwVPuaoBWDdTA@mail.gmail.com> (raw)
In-Reply-To: <CAFH29to9GaKVxUXw8uwbeMAcF6izD=8gqhqROzCOSEA5xOA5aQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1310 bytes --]
On Mon, Jan 25, 2021 at 10:56 AM Richard Salz <rich.salz@gmail.com> wrote:
> DCE RPC was based on Apollo NCS which was a very elegant RPC system built
> on UDP. It had no XDR because it was "reader makes it right" and datatypes
> were tagged.
>
I've been messing around with X.680, aka ASN/1. Its reputation for
horrible evilness, I find, primarily comes from the Packed Encoding Rules
and the interface with statically typed languages, both of which require
dealing with the schema language programmatically. But if you want to
drive it from a dynamically typed language, it's dirt simple: to write, see
what data type you have, output a type and length and value (or type and
value and terminator), and there you are.
I've got a little back burner project called Twinjo that provides two
equivalent serialization formats: X.680 and an extensible S-expression
format. If anyone's interested, you can read about it at <
https://github.com/johnwcowan/r7rs-work/edit/master/Twinjo.md>.
John Cowan http://vrici.lojban.org/~cowan cowan@ccil.org
He who would do good to another must do it in Minute Particulars;
General Good is the plea of the scoundrel, hypocrite and flatterer:
For Art and Science cannot exist but in minutely organized Particulars.
--William Blake, il miglior fabbro
[-- Attachment #2: Type: text/html, Size: 2704 bytes --]
next prev parent reply other threads:[~2021-01-26 2:45 UTC|newest]
Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-24 16:14 ron minnich
2021-01-24 16:24 ` Michael Kjörling
2021-01-24 17:04 ` Clem Cole
2021-01-24 18:36 ` Larry McVoy
2021-01-24 20:39 ` Ronald Natalie
2021-01-24 20:54 ` Larry McVoy
2021-01-24 21:01 ` Ronald Natalie
2021-01-24 23:38 ` Grant Taylor via TUHS
2021-01-25 0:18 ` Larry McVoy
2021-01-25 0:36 ` Grant Taylor via TUHS
2021-01-25 0:41 ` Larry McVoy
2021-01-24 20:45 ` Jon Steinhart
2021-01-24 21:11 ` Larry McVoy
2021-01-24 21:14 ` Jon Steinhart
2021-01-24 21:22 ` [TUHS] Apollo (was NeWS) Ronald Natalie
2021-01-24 21:25 ` [TUHS] tangential unix question: whatever happened to NeWS? Larry McVoy
2021-01-24 22:53 ` Dan Cross
2021-01-24 23:33 ` Jon Steinhart
2021-01-25 0:11 ` Al Kossow
2021-01-25 0:21 ` Jon Steinhart
2021-01-25 14:38 ` Clem Cole
2021-01-25 15:31 ` Al Kossow
2021-01-25 15:55 ` Richard Salz
2021-01-25 16:04 ` Larry McVoy
2021-01-25 16:37 ` Dan Cross
2021-01-25 16:49 ` Richard Salz
2021-01-25 17:11 ` Bakul Shah
2021-01-25 17:25 ` Larry McVoy
2021-01-29 20:24 ` Dave Horsfall
2021-01-29 20:31 ` Larry McVoy
2021-01-25 23:46 ` John Gilmore
2021-01-29 19:53 ` Dave Horsfall
2021-01-25 22:25 ` Rob Gingell
2021-01-26 1:38 ` Jon Steinhart
2021-01-27 3:11 ` Dave Horsfall
2021-01-27 3:54 ` Jon Steinhart
2021-01-27 5:15 ` George Michaelson
2021-01-27 5:52 ` George Michaelson
2021-01-27 5:48 ` Grant Taylor via TUHS
2021-01-27 6:19 ` Henry Bent
2021-01-27 7:28 ` Jon Steinhart
2021-01-27 10:02 ` Dave Horsfall
2021-01-27 18:32 ` Grant Taylor via TUHS
2021-01-27 19:26 ` Nemo Nusquam
2021-01-27 15:47 ` Larry McVoy
2021-01-27 16:40 ` Stephen Clark
2021-01-26 2:45 ` John Cowan [this message]
2021-01-27 19:34 ` Nemo Nusquam
2021-01-29 22:02 ` Dave Horsfall
2021-01-30 1:50 ` Nemo Nusquam
2021-01-31 2:42 ` Dave Horsfall
2021-01-30 3:51 ` Richard Salz
2021-01-30 23:20 ` John Cowan
2021-01-25 15:48 ` Henry Bent
2021-01-25 14:33 ` Clem Cole
2021-01-24 23:50 ` Ed Carp
2021-01-24 21:29 ` Al Kossow
2021-01-24 21:53 ` Lars Brinkhoff
2021-02-14 2:04 ` Greg A. Woods
2021-02-14 2:49 ` Jon Steinhart
2021-02-14 4:53 ` Rich Morin
2021-01-24 18:41 ` Toby Thain
2021-01-24 18:24 ` Dan Cross
2021-01-24 18:42 ` arnold
2021-01-24 19:11 ` Larry McVoy
2021-01-24 21:07 ` Rich Morin
2021-01-24 21:10 ` Ronald Natalie
2021-01-24 22:30 ` Rich Morin
2021-01-24 21:16 ` Jon Steinhart
2021-01-28 2:48 Norman Wilson
2021-01-28 9:24 Noel Chiappa
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=CAD2gp_RsiayPg+xyEYK7AwrkuO0NS7f4o4pZ6JwVPuaoBWDdTA@mail.gmail.com \
--to=cowan@ccil.org \
--cc=rich.salz@gmail.com \
--cc=tuhs@minnie.tuhs.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.
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).