From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.ada Subject: Re: In memory Stream Date: Wed, 21 Feb 2024 19:44:33 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 21 Feb 2024 19:44:33 -0000 (UTC) Injection-Info: dont-email.me; posting-host="01b911325e9528685287d2bc56fa86ff"; logging-data="3509919"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ZKN9LEY5MVJ3FpGW4UYuA" User-Agent: Pan/0.155 (Kherson; fc5a80b8) Cancel-Lock: sha1:cdb961tWT80PUo/AzLoHeYafB9U= Xref: news.eternal-september.org comp.lang.ada:66116 List-Id: On Wed, 21 Feb 2024 08:43:13 +0100, Dmitry A. Kazakov wrote: > On 2024-02-20 23:32, Lawrence D'Oliveiro wrote: >> On Tue, 20 Feb 2024 21:45:46 +0100, Dmitry A. Kazakov wrote: >> >>> The burden of checks is moved to the application, the format is same. >> >> Isn’t that how all formats are implemented? > > There is a difference in semantics of checks. Think of a stream of bytes as the ultimate meta-format. All extra layout on top of that is “moved to the application”, as you say. But it just takes more work starting from such a low level; starting from a higher point, like JSON, reduces that work.