comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: article on acces types and dynamic serialization in Ada (2003)
Date: Fri, 23 Feb 2018 09:38:33 +0100
Date: 2018-02-23T09:38:33+01:00	[thread overview]
Message-ID: <p6oju9$12qv$1@gioia.aioe.org> (raw)
In-Reply-To: 87tvu8890r.fsf@jacob-sparre.dk

On 23/02/2018 08:23, Jacob Sparre Andersen wrote:
> Shark8 <onewingedshark@gmail.com> writes:
>> On Thursday, February 22, 2018 at 4:49:04 PM UTC-7, Randy Brukardt wrote:
> 
>>> What default (read relatively cheap to read/write) implementation
>>> could possibly be sane?
>>
>> ASN.1 serialization/deserialization.
> 
> That doesn't solve the problem of the compiler having to figure out how
> to interpret the access types.

It does not solve any problem, being an utter abomination and horror to 
anyone who must implement a protocol described in this form.

But even if, the point is that data /= type. ASN.1 describes 
representation, not the semantics of a typed object. For most types 
representation alone is not enough to store/restore objects of.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2018-02-23  8:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-21 23:57 article on acces types and dynamic serialization in Ada (2003) Mehdi Saada
2018-02-22  9:16 ` Dmitry A. Kazakov
2018-02-22 12:08   ` guyclaude.burger
2018-02-22 12:15 ` Mehdi Saada
2018-02-22 13:04   ` Dmitry A. Kazakov
2018-02-22 23:49   ` Randy Brukardt
2018-02-23  3:40     ` Shark8
2018-02-23  7:23       ` Jacob Sparre Andersen
2018-02-23  8:38         ` Dmitry A. Kazakov [this message]
2018-02-23 20:28           ` G. B.
2018-02-23 20:40             ` Dmitry A. Kazakov
2018-02-23 10:30 ` Mehdi Saada
2018-02-23 13:13   ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox