comp.lang.ada
 help / color / mirror / Atom feed
From: Tommy Zhu <tommy@cnluton.com>
Subject: Re: Converting Java To Ada?
Date: Fri, 17 Dec 2004 13:19:32 +0000
Date: 2004-12-17T13:19:32+00:00	[thread overview]
Message-ID: <32g4a9F3m3dssU1@individual.net> (raw)
In-Reply-To: <329tnmF3jb1vhU1@individual.net>

I would suggest  add this topic to Ada Faq:The Ada Funnies.

Nick Roberts wrote:
> Brian May wrote:
> 
>>     conradwt> Hi, are there any tools for converting Java source to
>>     conradwt> Ada source (i.e.  adb and ads)?
>>
>> Yes.
>>
>> It is called a "programmer". These tools walk around on two legs and
>> eat pizza. Make sure you get the correct model, you want a model that
>> supports Ada and Java. Also make sure you have plenty of pizza.
>>
>> Sorry, couldn't resist ;-).
> 
> 
> In fact, I would concur with this answer.
> 
> If you only need to convert from Java to Ada because a Java executive is 
> not available for the environment in which you wish to run the program, 
> then an automated conversion tool might make sense. But this seems like 
> an unlikely scenario, somehow.
> 
> If, on the other hand, you need to convert a Java program into Ada, and 
> then subsequently maintain the program (in Ada), then I suggest you use 
> the aforementioned bipedal pizzivorous tool.
> 
> There are good reasons for this. Ada provides many language constructs 
> that have no direct analogy in Java (and there are a few Java constructs 
> whose Ada analogues are ugly as hell). Probably, only a human -- and a 
> very skilled one, at that -- can make the sophisticated transformations 
> required to convert the Java idioms into appropriate Ada ones.
> 
> Oh, and I've heard that these humans drink copious quantities of coke, 
> as well as eating pizza at all times of the day and night (plus the 
> occasional Alka-Selza).
> 



      reply	other threads:[~2004-12-17 13:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-15  2:03 Converting Java To Ada? conradwt
2004-12-15  2:48 ` Brian May
2004-12-15  4:43   ` Nick Roberts
2004-12-17 13:19     ` Tommy Zhu [this message]
replies disabled

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