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: Re: Should light runtimes get more consideration? Date: Fri, 29 Sep 2023 09:59:37 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 29 Sep 2023 09:59:37 -0000 (UTC) Injection-Info: dont-email.me; posting-host="81c892ab9785eabd84a6e916ca90865d"; logging-data="243642"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195lwotyFXj6VO8KQFG4vmaHlvyGa2lQUY=" User-Agent: PhoNews/3.12.0 (Android/13) Cancel-Lock: sha1:xIvtEktmtI5M55WLm+q2xgzx3e8= In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:65749 List-Id: >>>> Tasking is very limited. For example you can't use >>>> timeouts. Never. They propose a workaround but it is complex and not >>>> equivalent to a real timeout management. >>> >>> Not sure what a "real timeout management" would look like? >>> >>>> I'd like to have a full Ada RTS for embedded targets, like on >>>> desktop. >>> >>> Have you considered using something like a Raspberry Pi? >> A RaspberryPi is a computer (based on a microprocessor with an OS), not >> an micro-controller. It consumes a lot of electrical power. The OS >> (linux) is not real time. It uses a lot of board space. The processor is >> a proprietary black box... >> > >Plenty use the Raspberry Pi as a microcontroller I think Simons point was that Arm/Linux has a working full runtime. I guess bare raspberry pie would not and I guess it would be a rather large module or board or single board computer depending on the model. WRT energy use. I use a low power run feature on the STM32L4 which means the system clock speed can change at any time. That seems to be incompatible with any runtime that I have seen except the minimal light-cortex-m4 one. I assume working with clocks is more scalable than working with runtimes but I do not know for sure. -- Regards, Kc