[TUHS] tangential unix question: whatever happened to NeWS?

John Cowan cowan at ccil.org
Tue Jan 26 12:45:06 AEST 2021


On Mon, Jan 25, 2021 at 10:56 AM Richard Salz <rich.salz at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20210125/3b18ee16/attachment.htm>


More information about the TUHS mailing list