comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Ada to Ada Translator ?
Date: Sat, 18 May 2019 17:48:13 +0100
Date: 2019-05-18T17:48:13+01:00	[thread overview]
Message-ID: <lya7fj1zg2.fsf@pushface.org> (raw)
In-Reply-To: ad8abdfd-a9b1-4b82-a41e-bc7796bea3e7@googlegroups.com

foo wong <crap@spellingbeewinnars.org> writes:

> If a small company wanted to create an instrument with Ada embedded on
> let's say an ARM based circuit board, there is just so much non-sense
> to deal with in the Ada world and it's just so much easier with C++.
>
> Adacore is our leader in the free software world and they are leading
> us into the abyss.

Not sure that it's really AdaCore's job to do this; there's a publicity
issue. Maybe the Ada Information Clearinghouse/Ada Resource Association
(https://www.adaic.org) would be a better place? I suspect it's
lightly-staffed.

> We really need another compiler. One that is doesn't play license
> games and that is designed to solve the problem Ada was created for,
> embedded parallel hardware use.

Technically
-----------

It's not the compiler, it's the RTL. The FSF native compiler (which you
would get with e.g. Debian) has no licence games beyond what the FSF GCC
Runtime Exception requires (i.e., practically none).

The CE arm-eabi compiler comes with full-GPL RTLs. However, the
compiler is fully capable of compiling a different RTL, and the tools
will happily work with it.

I started working on my Cortex GNAT RTS[1] because of concerns,
expressed here, similar to the ones you raise (and because it's fun). It
has the FSF Runtime Exception (it has to be GPL-based, because it's
derived mainly from the FSF RTS) and runs over FreeRTOS[2], which
(thankfully) has an MIT licence.

AdaCore's Ada Drivers Library[3] has a BSD 3-clause licence.

[1] https://github.com/simonjwright/cortex-gnat-rts
[2] https://www.freertos.org
[3] https://github.com/AdaCore/Ada_Drivers_Library

Practically
-----------

All very well having a compiler and RTS that could be used to develop
your proprietary product, but if you aren't aware of it you'll choose
C++.

I can't see AdaCore announcing that you can use their CE toolset with
this other RTS, but they can't support it for free (or at all)

  reply	other threads:[~2019-05-18 16:48 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-17 14:21 Ada to Ada Translator ? foo wong
2019-05-17 21:00 ` Simon Wright
2019-05-18 12:05   ` foo wong
2019-05-18 12:11     ` foo wong
2019-05-18 14:47     ` Simon Wright
2019-05-18 15:26       ` foo wong
2019-05-18 16:48         ` Simon Wright [this message]
2019-05-19 16:04         ` G.B.
2019-05-19 17:08           ` Simon Wright
2019-05-19 18:27             ` Optikos
2019-05-19 21:27               ` Simon Wright
2019-05-19 21:42               ` Simon Wright
2019-05-21 20:54                 ` Optikos
2019-05-22  6:59                   ` Simon Wright
2019-05-22 12:06                     ` Optikos
2019-05-22 12:33                       ` Simon Wright
2019-05-22 12:57                         ` foo wong
2019-05-22 15:24                           ` Shark8
2019-05-22 16:34                             ` Optikos
2019-05-22 20:07                               ` Randy Brukardt
2019-05-23  7:21                           ` G. B.
2019-05-22 13:33                         ` Optikos
2019-05-20 14:11         ` Optikos
2019-05-20 16:37           ` foo wong
2019-05-18 15:44       ` foo wong
2019-05-18 16:49         ` Simon Wright
2019-05-19 15:04         ` G.B.
2019-05-19 12:41 ` Optikos
2019-05-19 17:38   ` foo wong
2019-05-19 22:52   ` foo wong
2019-05-20 23:19   ` Randy Brukardt
2019-05-21  0:13     ` Optikos
2019-05-21 22:15       ` Randy Brukardt
2019-05-22  0:16         ` Optikos
2019-05-22 20:16           ` Randy Brukardt
2019-05-22 23:27             ` foo wong
2019-05-23  7:56               ` Simon Wright
2019-05-23 12:29                 ` foo wong
2019-05-21 22:20       ` Randy Brukardt
2019-05-21  0:17     ` Optikos
2019-05-22 18:49 ` Optikos
replies disabled

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