From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on ip-172-31-91-241.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=none autolearn=unavailable autolearn_force=no version=4.0.1 Path: nntp.eternal-september.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Kevin Chadwick Newsgroups: comp.lang.ada Subject: Re: In precision typing we trust Date: Fri, 29 Aug 2025 09:41:52 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: <108rsl0$1tdnk$1@dont-email.me> References: <107uv9g$3019a$1@dont-email.me> <107v1ji$303of$1@dont-email.me> <336fbb5f-a279-ea8e-67fd-f62bb00d6a89@irrt.De> <107vfb9$34cpj$1@dont-email.me> <10855lq$gj8l$1@dont-email.me> <1088h1a$19635$1@dont-email.me> <1089p1i$1ig1d$1@dont-email.me> <108aq2p$1qo9o$1@dont-email.me> <108b1r3$1sj3c$1@dont-email.me> <108dh4t$2f5h3$2@dont-email.me> <108dkik$2g20p$1@dont-email.me> <108g1cg$32gqg$2@dont-email.me> <108h6b0$3a75k$2@dont-email.me> <108iiq5$3lihe$3@dont-email.me> <108mhhk$j2jt$1@dont-email.me> <108mis1$j4cj$1@dont-email.me> <108o33p$vok4$5@dont-email.me> <108o6rp$10njb$1@dont-email.me> <108o7cm$10qct$1@dont-email.me> <108o845$10pj9$3@dont-email.me> <108p625$17uns$1@dont-email.me> <108r8c0$1p0do$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 29 Aug 2025 09:41:53 +0000 (UTC) Injection-Info: dont-email.me; posting-host="edbe014c92175f233e18acdca2efbc55"; logging-data="2012916"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/yXb48dmaNgiYq9vHkA4C6JkDDu8Y8SJk=" User-Agent: PhoNews/3.13.3 (Android/14) Cancel-Lock: sha1:fsUSWGqikfpSqyuzn2mrnoZZ8F8= In-Reply-To: <108r8c0$1p0do$1@dont-email.me> Xref: feeder.eternal-september.org comp.lang.ada:66993 List-Id: On 29/08/2025 04:55, Lawrence DOliveiro wrote: >On Thu, 28 Aug 2025 09:04:06 -0000 (UTC), Kevin Chadwick wrote: > >> On 28/08/2025 01:33, Lawrence D’Oliveiro wrote: >>> >>> But can you do type checking dynamically, at run-time? >> >> To any degree that is sensible and secure yes as you should always >> validate the packet even from behind a cryptographic protection. >> Cobs crate helps. >> >> https://alire.ada.dev/crates/cobs >> >> Or you can use Streams on anything above a light runtime. > >That’s not a “yes” though, is it. Ada was designed to be cost effective as a common language for large and realtime systems. Full dynamic typing is not cost effective except maybe like C for prototyping. "https://www.wirekat.com/python-a-loved-but-eternally-flawed-language/" -- Regards, Kc