[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Ruby to java or java to ruby converter

Michael Neumann

1/22/2007 2:57:00 PM

Vinod Kone wrote:

> hi,
>
> am a newbie to ruby and was wondering whether there is any ruby2java or
> java2ruby converter? we are planning to compare both the languages based
> on some benchmarks..so thought a converter would come in handy. any
> suggestions?

I have implemented a rudimentary Ruby to Javascript converter. So I don't
think it should be much harder to do the same with Java. Of course as Java is
static typed, one would need to pass Objects everywhere and do runtime
type-casting all the time, unless one implements some kind of type inference
for Ruby (which I think is possible and usable is some situations). So in the
end, I don't think it would be much faster than Ruby, maybe even slower.
Well, it would probably be faster than JRuby but much less flexible (as I'm
talking only about a subset of Ruby, without the whole dynamism Ruby provides
you with).

Regards,

Michael

2 Answers

Heinrich

12/7/2012 7:10:00 PM

0



"NoSpamAtAll" schreef in bericht news:k9teqn$eii$1@pcls6.std.com...

In article <50c23d91$0$1896$2e0edba0@news.tweakdsl.nl>,
Heinrich <Heinrich@Ruhrgasnet.de> wrote:

> "NoSpamAtAll" schreef in bericht news:k9te54$dmi$1@pcls6.std.com...

>> So answer already. Are you threatening me?

> why should i you are behaving like a child so you are not to
> be taken serious

Fuck off, cowardly nazoid pig.

take good note of my earlier advice because if you do not you are dead meat

The Peeler

12/7/2012 7:20:00 PM

0

On Fri, 7 Dec 2012 19:49:28 +0100, Dumb Heini, the heavily medicated Dutch
resident Nazi troll and laughing stock of sci and scj, wrote:

> Are you threatening me?
>
> YES or NO?
>
> What's the matter? Afraid to answer?
>
> not at all i just gave you a well meant advise

<BG> What an abject coward you are, you fucked up stupid Dutch fag!

--
Dumb Heini listing his medication:
"haldol, lithium, risperdal and an extra dosis of citalopram"
MID: <UtF4s.214$RV2.34@newsfe14.iad>