comp.lang.ada
 help / color / mirror / Atom feed
From: mjsilva@scriptoriumdesigns.com
Subject: Re: understanding runtime support
Date: Tue, 15 May 2012 08:22:30 -0700 (PDT)
Date: 2012-05-15T08:22:30-07:00	[thread overview]
Message-ID: <47497.3024.1337095350241.JavaMail.geo-discussion-forums@ynmk20> (raw)
In-Reply-To: <josu7b$ptd$1@munin.nbi.dk>

On Monday, May 14, 2012 11:48:08 PM UTC-7, Randy Brukardt wrote:
> <mjsilva@sc...com> wrote in message 
> news:10099625.0.1337029342748.JavaMail.geo-discussion-forums@yneh4...
> > Sadly, there does not seem to be a cookbook as to how to create such a 
> > bare metal port for other devices/families.
> 
> Nothing "sad" about it; it's unavoidable. There is no "cookbook" to creating 
> bare machine versions; they have to be tailored to the device and board 
> capabilities. 

Again, I look at the numbers of Ada-suitable microcontrollers being shipped (tens of billions), and there's no clear way to get Ada on most of them.  That seems extremely short-sighted for the growth of Ada into markets it could become a strong player in.  

I look back on the MIL-STD-1750A and think if Ada was put on that (and I remember the claims about what a small runtime was required), how hard could it be to put it on modern devices of equal or greater capacity?

So what's involved in e.g. Ada with Ravenscar tasking, no files, no propagated exceptions?  I would expect something like N Ada stub subprograms that need to be customized for the hardware, along with some data objects.  These subprograms would be hooked up to a hardware timer and whatever other hardware subsystems necessary.  

Only a very few dedicated souls will read through existing source to figure out a way to port that source, but if a cookbook existed, similar to the doc for an RTOS that tells what each stub subprogram must be coded to provide, and defines each required data object, I suspect Ada would suddenly start appearing on a lot more varied hardware, and start getting noticed by a lot more people.  And that would be a Very Good Thing IMO.



  reply	other threads:[~2012-05-15 15:28 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-11  3:49 understanding runtime support Patrick
2012-05-13  4:49 ` Shark8
2012-05-13 15:26   ` Patrick
2012-05-14  4:37     ` Shark8
2012-05-14  8:24     ` Ludovic Brenta
2012-05-14 11:31       ` Patrick
2012-05-14 18:34         ` Shark8
2012-05-14 20:04           ` Patrick
2012-05-14 21:02             ` mjsilva
2012-05-15  6:48               ` Randy Brukardt
2012-05-15 15:22                 ` mjsilva [this message]
2012-05-15 15:41                   ` Lucretia
2012-05-15 16:05                   ` Lucretia
2012-05-15 16:29                     ` mjsilva
2012-05-15 17:02                       ` Lucretia
2012-05-16 17:51                 ` Tero Koskinen
2012-05-17  6:39                   ` Simon Wright
2012-05-17 18:09                     ` Tero Koskinen
2012-05-17 18:15                     ` John B. Matthews
2012-05-15  7:47               ` Jacob Sparre Andersen
2012-05-15 16:27                 ` Jeffrey Carter
2012-05-15 16:38                 ` Brian Drummond
2012-05-15 16:49                   ` Patrick
2012-05-15 16:50                   ` Patrick
2012-05-15 14:24               ` Lucretia
2012-05-14 22:52             ` Shark8
2012-05-15  0:04               ` Patrick
2012-05-15  7:39               ` Dmitry A. Kazakov
2012-05-15 14:19       ` Lucretia
2012-05-15  7:26 ` Ludovic Brenta
2012-05-15 14:31   ` Lucretia
2012-05-16 16:24   ` tmoran
2012-05-17  0:15     ` Randy Brukardt
2012-05-15 14:48 ` Lucretia
2012-05-15 14:55 ` Lucretia
2012-05-15 15:32   ` Mike Silva
2012-05-15 16:04     ` Lucretia
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox