comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP>
Subject: Re: Point a beginner in the right direction? Cheap bare-board to run with a RTOS for running ADA
Date: Wed, 10 Jul 2013 12:25:09 +0000 (UTC)
Date: 2013-07-10T12:25:09+00:00	[thread overview]
Message-ID: <krjjr4$sqm$1@dont-email.me> (raw)
In-Reply-To: krhrti$5ug$1@loke.gir.dk

On 2013-07-09, Randy Brukardt <randy@rrsoftware.com> wrote:
> "Simon Clubley" <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote in 
> message news:krh26d$8b0$1@dont-email.me...
> ...
>> What is needed is to create a Ada compiler which will create code which
>> runs in bare metal mode on a number of specific architectures (ARM and
>> MIPS would be my personal initial preferences).
>
> I agree with Dmitry, this sounds like nonsense. Certainly you can write a 
> cross-compiler, but it can't "target bare-metal". Most machines need a 
> substantial RTS to support anything. The Z80s that we targeted when we 
> started out didn't even support multiple and divide in hardware -- you would 
> have been limited to plus and minus (and no arrays, as those require 
> multiplying to do indexing) without an RTS.
>

I define bare metal as including the required support code to support
language constructs. Bare metal is defined as the code directly talking
to the hardware without a OS in the way.

Even bare metal C (within GCC) has references in it's generated code to a
gcc supplied library to handle the features not available on the hardware;
such code is still considered to be bare metal code.

> Early Janus/Ada was available for bare-metal (still is, nominally) -- we 
> provided the source code of the RTS and customers could tailor it to their 
> actual hardware board. But there was no way to make that process portable in 
> any sense -- every hardware implementation was different. And nothing I've 
> heard here suggests that anything has changed in that respect.
>
> So it makes sense to target a particular board (Lego Mindstorms, Raspberry 
> PI), but targeting all boards is nonsense.
>

I never said anything about targeting _all_ boards. I only talked about
targeting specific architectures. Within those architectures, there are
specific subclasses you can target. For example, in the ARM world, a
generic Cortex-M3 target could be a good choice for a hardware support
library.

And as I have already mentioned, the process of building a compiler to
generate code for a architecture (ARM) and writing a support library for
boards within that architecture (Cortex M3) are considered to be two
separate things.

>> At this point, I'm beginning to think you are either trolling or just
>> refusing to accept (for whatever reason) that there's a vast embedded
>> market out there, outside of what you are used to, which could be a
>> target for Ada.
>
> I started out creating tiny Ada subsets, and I've come to believe that those 
> do Ada far more harm than good. The only sort of Ada that can run on those 
> targets is an emasculated Ada that is likely to repell, rather than attract 
> people to "real" Ada down the road.
>

Congratulations, you just guaranteed that Ada is never going to be accepted
by the majority with that attitude.

The way to get people interested in Ada is to expose them to Ada _before_
they have made a large investment in other languages and have learned to
work around the issues associated with those other languages.

You are still going to get people like myself interested (people who know
those more mainstream languages, but also actively look for other safer
languages), but the result of your worldview is that by the time many
people are working on projects which you think are large enough to be
considered for Ada use, then those people are just going to use the
languages they are familiar with because they understand those languages
and their issues even though Ada may indeed be a better fit.

There's a hell of a lot of good stuff in Ada which deserves to be more
widely used, but a number of people here don't seem to understand that
their ossified attitudes turn away potential newcomers while those same
same people are moaning about the lack of new people interested in Ada.

I'm frustrated because I see places it would be _very_ nice to use Ada,
but also see that some existing attitudes within the established Ada
community are a major blocker stopping people trying Ada.

The people who you might interest in Ada today have a very different
experience in terms of hardware platforms and projects than what you
seem to be used to. If you want those people to start becoming interested
in Ada, you need to make Ada relevant to the way they work and their
interests.

Simon.

-- 
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world

  parent reply	other threads:[~2013-07-10 12:25 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-19  7:51 Point a beginner in the right direction? Cheap bare-board to run with a RTOS for running ADA Marcus F
2013-06-19 18:20 ` Point a beginner in the right direction? Cheap bare-board to run with a RTOS for running Ada Jacob Sparre Andersen
2013-06-19 18:59   ` Marcus F
2013-06-19 19:25     ` Marcus F
2013-07-12 20:35     ` Rego, P.
2013-07-12 20:37       ` Rego, P.
2013-07-07  9:16 ` Point a beginner in the right direction? Cheap bare-board to run with a RTOS for running ADA Lucretia
2013-07-07  9:56   ` Dmitry A. Kazakov
2013-07-07 10:58     ` Simon Clubley
2013-07-07 15:00       ` Dmitry A. Kazakov
2013-07-07 16:27         ` Niklas Holsti
2013-07-08  7:43           ` Dmitry A. Kazakov
2013-07-08 10:54             ` G.B.
2013-07-08 12:14               ` Dmitry A. Kazakov
2013-07-08 12:56                 ` Simon Clubley
2013-07-08 14:06                   ` Dmitry A. Kazakov
2013-07-08 14:43                     ` G.B.
2013-07-08 17:23                     ` Simon Clubley
2013-07-08 18:55                       ` Dmitry A. Kazakov
2013-07-09 11:53                         ` Simon Clubley
2013-07-09 12:57                           ` Dmitry A. Kazakov
2013-07-09 13:11                             ` Simon Clubley
2013-07-09 20:30                               ` Randy Brukardt
2013-07-09 22:23                                 ` Georg Bauhaus
2013-07-10  8:06                                   ` Dmitry A. Kazakov
2013-07-10 12:25                                 ` Simon Clubley [this message]
2013-07-10 22:17                                   ` Randy Brukardt
2013-07-11 16:58                                     ` Eryndlia Mavourneen
2013-07-11 22:07                                       ` Randy Brukardt
2013-07-08 13:15                 ` G.B.
2013-07-08 13:59                   ` Dmitry A. Kazakov
2013-07-09  0:53                     ` mjsilva
2013-07-08 20:31             ` Randy Brukardt
2013-07-08 20:45               ` Dmitry A. Kazakov
2013-07-09  0:19                 ` mjsilva
2013-07-09  0:27             ` mjsilva
2013-07-09  7:51               ` Dmitry A. Kazakov
2013-07-09  8:33                 ` Georg Bauhaus
2013-07-09  9:12                   ` Dmitry A. Kazakov
2013-07-09 11:08                     ` G.B.
2013-07-09 12:28                       ` Dmitry A. Kazakov
2013-07-09 14:20                         ` G.B.
2013-07-09 15:00                           ` Dmitry A. Kazakov
2013-07-09 23:13                             ` Peter C. Chapin
2013-07-09 15:38                 ` mjsilva
2013-07-09 19:48                   ` Dmitry A. Kazakov
2013-07-09 20:10                   ` Randy Brukardt
2013-07-09 22:09                     ` Georg Bauhaus
2013-07-10 22:21                       ` Randy Brukardt
2013-07-11  6:12                         ` Georg Bauhaus
2013-07-11 22:00                           ` Randy Brukardt
2013-07-10  1:31                     ` mjsilva
2013-07-10  8:17                       ` Dmitry A. Kazakov
2013-07-10 22:39                       ` Randy Brukardt
2013-07-09 13:53     ` Shmuel Metz
replies disabled

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