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=-1.0 required=3.0 tests=NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Chris Townley Newsgroups: comp.lang.ada Subject: Re: Should light runtimes get more consideration? Date: Fri, 29 Sep 2023 11:42:08 +0100 Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 29 Sep 2023 10:42:08 -0000 (UTC) Injection-Info: dont-email.me; posting-host="fac810b6781ed6dc4493d9d9b864b91d"; logging-data="220845"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+A4NW8dVFElnsA3gDLIe5W6suVhtaTFuU=" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Cancel-Lock: sha1:ilWlLoirUUdS1nD9Gkb8ov/uSA4= Content-Language: en-GB In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:65750 List-Id: On 29/09/2023 10:59, Kevin Chadwick wrote: > >>>>> 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. > Agreed, but in addition to the mainline Pis there is the zero, and the pico, which has a 'RP2040' made by Raspberry Pi and is a dual-core ARM Cortex M0+ processor, with a flexible clock running up to 133MHz -- Chris