From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-91-241.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=none autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Kevin Chadwick Newsgroups: comp.lang.ada Subject: Should light runtimes get more consideration? Date: Tue, 26 Sep 2023 11:44:02 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 26 Sep 2023 11:44:02 -0000 (UTC) Injection-Info: dont-email.me; posting-host="3f34db6aa2e6d6afb05f2a0cdf4cdc40"; logging-data="2621211"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19571BnLhogYLs9yxmQiyCX7iL0Jz8SCBY=" User-Agent: PhoNews/3.12.0 (Android/13) Cancel-Lock: sha1:nzYRI7APuX+aT/aimN1L02LmdBg= Xref: news.eternal-september.org comp.lang.ada:65732 List-Id: I created the issue below a little while ago. Today I wonder whether Ada 2022s 'Image attribute on records use of Unbounded strings is for good reason. Is it an oversight that Bounded String would work with the new light runtime or String with all runtimes including the older zero footprint runtimes? Perhaps it was decided that a light runtime would not use this feature? and I can cerrainly avoid it. However I use a light runtime with 100s of kilobytes or ram and many gigabytes of flash. Ada is a much nicer language than Rust which uses unsafe all over for embedded but one thing that is interesting is that I believe all Rust code can be run easily on any target. Should Ada aspire to that? On the other hand micros are becoming multiprocessor bringing more demand for tasking (protected types are not compatible with a light runtime) but personally I believe multi chip single core designs are far better than multicore and not only due to the impossibility of side channel attacks like spectre. https://github.com/Ada-Rapporteur-Group/User-Community-Input/issues/67 -- Regards, Kc