[147490] in cryptography@c2.net mail archive

home help back first fref pref prev next nref lref last post

Re: [Cryptography] encoding formats should not be committee'ised

daemon@ATHENA.MIT.EDU (Phillip Hallam-Baker)
Thu Oct 3 21:29:52 2013

X-Original-To: cryptography@metzdowd.com
In-Reply-To: <524D36B3.4000703@iang.org>
Date: Thu, 3 Oct 2013 19:33:12 -0400
From: Phillip Hallam-Baker <hallam@gmail.com>
To: ianG <iang@iang.org>
Cc: "cryptography@metzdowd.com" <cryptography@metzdowd.com>
Errors-To: cryptography-bounces+crypto.discuss=bloom-picayune.mit.edu@metzdowd.com

--===============8752877438410891241==
Content-Type: multipart/alternative; boundary=f46d04428cc2fbb72604e7de9b09

--f46d04428cc2fbb72604e7de9b09
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Oct 3, 2013 at 5:19 AM, ianG <iang@iang.org> wrote:

> On 3/10/13 00:37 AM, Dave Horsfall wrote:
>
>> On Wed, 2 Oct 2013, Jerry Leichter wrote:
>>
>>  Always keep in mind - when you argue for "easy readability" - that one
>>> of COBOL's design goals was for programs to be readable and
>>> understandable by non-programmers.
>>>
>>
>> Managers, in particular.
>>
>
>
> SQL, too, had that goal.  4GLs (remember them?).  XML.  Has it ever worked?


XML was not intended to be easy to read, it was designed to be less painful
to work with than SGML, that is all.

There are actually good reasons why a document markup format needs to have
more features than a protocol data encoding format. People tend to edit
documents and need continuous syntax checks for a start.

XML is actually a good document format and a lousy RPC encoding. Although
that is exactly what SOAP is designed to turn XML into. The design of WSDL
and SOAP is entirely due to the need to impedance match COM to HTTP.


What does work in my experience is to design a language that is highly
targeted at a particular problem set. Like building FSRs or LR(1) parsers
or encoding X.509 certificates (this week's work).

And no, an ASN1 compiler is not a particularly useful tool for encoding
X.509v3 certs as it turns out.

-- 
Website: http://hallambaker.com/

--f46d04428cc2fbb72604e7de9b09
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Thu, Oct 3, 2013 at 5:19 AM, ianG <span dir=3D"ltr">&lt;<a href=
=3D"mailto:iang@iang.org" target=3D"_blank">iang@iang.org</a>&gt;</span> wr=
ote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im">On 3/10/13 00:37 AM, Dave Horsfall wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
On Wed, 2 Oct 2013, Jerry Leichter wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Always keep in mind - when you argue for &quot;easy readability&quot; - tha=
t one<br>
of COBOL&#39;s design goals was for programs to be readable and<br>
understandable by non-programmers.<br>
</blockquote>
<br>
Managers, in particular.<br>
</blockquote>
<br>
<br></div>
SQL, too, had that goal. =A04GLs (remember them?). =A0XML. =A0Has it ever w=
orked?</blockquote><div><br></div><div>XML was not intended to be easy to r=
ead, it was designed to be less painful to work with than SGML, that is all=
.</div>
<div><br></div><div>There are actually good reasons why a document markup f=
ormat needs to have more features than a protocol data encoding format. Peo=
ple tend to edit documents and need continuous syntax checks for a start.=
=A0</div>
<div><br></div><div>XML is actually a good document format and a lousy RPC =
encoding. Although that is exactly what SOAP is designed to turn XML into. =
The design of WSDL and SOAP is entirely due to the need to impedance match =
COM to HTTP.</div>
<div><br></div><div><br></div><div>What does work in my experience is to de=
sign a language that is highly targeted at a particular problem set. Like b=
uilding FSRs or LR(1) parsers or encoding X.509 certificates (this week&#39=
;s work).=A0</div>
<div><br></div><div>And no, an ASN1 compiler is not a particularly useful t=
ool for encoding X.509v3 certs as it turns out.=A0</div></div><div><br></di=
v>-- <br>Website: <a href=3D"http://hallambaker.com/">http://hallambaker.co=
m/</a><br>

</div></div>

--f46d04428cc2fbb72604e7de9b09--

--===============8752877438410891241==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
The cryptography mailing list
cryptography@metzdowd.com
http://www.metzdowd.com/mailman/listinfo/cryptography
--===============8752877438410891241==--

home help back first fref pref prev next nref lref last post