From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Ada to C translator for small microcontrollers
Date: Mon, 21 May 2012 14:27:07 +0200
Date: 2012-05-21T14:27:07+02:00 [thread overview]
Message-ID: <4fba349b$0$6560$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <a64a1829-d7da-4799-a7ff-c4d625734b51@googlegroups.com>
On 21.05.12 12:35, kalvin.news@gmail.com wrote:
> I found this paper "No Assembly Required: Compiling Standard ML to C" which presents some ideas and experience in using the C as compiler target language.
>
> http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.70.154&rep=rep1&type=pdf
>
> The Standard ML differs quite a lot from C, and "The generated code achieves an execution speed that is about a factor of two slower than a native code compiler". However, as Ada is closer to C, the resulting overhead is supposed be less. Also, implementing only a carefully selected subset of Ada language might help in creating better translation to target C language.
ATS, which adds linear types and proofs to ML (not that I really
know what linear types are, except that they are not ref types
like those for scalars in ML), uses C a a target language too,
and is about as fast, or faster.
Eiffel also generates C; there is a GPL edition of
the compiler. Don't know whether it is suitable
for �Controllers, though.
next prev parent reply other threads:[~2012-05-21 12:28 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-26 12:48 Ada to C translator for small microcontrollers Tomi Saarnio
2012-03-26 13:44 ` Rego, P.
2012-03-26 14:14 ` Niklas Holsti
2012-03-26 15:48 ` Ludovic Brenta
2012-03-26 16:20 ` Simon Wright
2012-03-26 14:46 ` georg bauhaus
2012-03-26 19:16 ` anon
2012-03-27 9:46 ` kalvin.news
2012-03-27 17:22 ` anon
2012-03-27 20:13 ` kalvin.news
2012-03-28 14:29 ` KK6GM
2012-03-28 16:36 ` Niklas Holsti
2012-03-28 17:56 ` KK6GM
2012-03-28 21:03 ` Georg Bauhaus
2012-03-30 11:54 ` phil.clayton
2012-03-31 15:46 ` kalvin.news
2012-03-31 19:52 ` Rugxulo
2012-04-01 11:23 ` kalvin.news
2012-04-02 21:46 ` Niklas Holsti
2012-04-03 5:56 ` J-P. Rosen
2012-04-03 2:08 ` BrianG
2012-04-03 9:29 ` Georg Bauhaus
2012-05-21 10:35 ` kalvin.news
2012-05-21 12:27 ` Georg Bauhaus [this message]
2012-06-02 15:27 ` Marco
2012-06-05 9:18 ` kalvin.news
2012-06-05 12:17 ` Brian Drummond
2012-06-06 5:21 ` J-P. Rosen
2012-06-06 11:50 ` Brian Drummond
2012-06-10 15:41 ` Marco
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox