PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.ruby > Java interpreter for ruby?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Java interpreter for ruby?

Réponse
 
LinkBack Outils de la discussion
Vieux 25/02/2008, 08h57   #1
Joe K
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Java interpreter for ruby?

Hi, I'm looking for an interpreter for Java that allows me to run my Java
programs on the ruby interpreter. I know there's a compiler that lets you
run Java programs on the scala interpreter, but I can't find one to run
Java on the ruby platform? Any >
  Réponse avec citation
Vieux 25/02/2008, 09h18   #2
Paul McMahon
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Java interpreter for ruby?

How about using JRuby to run ruby on Java?

  Réponse avec citation
Vieux 25/02/2008, 12h08   #3
Jaypee
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Java interpreter for ruby?

Paul McMahon a écrit :
> How about using JRuby to run ruby on Java?
>

JRuby can also be used as a glue to assemble Java
objects. For example, it is possible to parse a
ruby String containing some xml, using JDOM and
SAXBuilder. But some special attention must be paid
to constructing Java arrays from ruby.

J-P
  Réponse avec citation
Vieux 25/02/2008, 12h35   #4
simon jenkins
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Java interpreter for ruby?

[Note: parts of this message were removed to make it a legal post.]

I am yet to give scala ago, however from my current understanding...

scala and java both compile to byte code that runs on the JVM. Therefore
they both share a runtime which will make it more straightforward to get the
two to co-operate.

The only "shared" runtime for java and ruby that I am aware of is, JRuby.

Alternatively if your application can be separated into tasks that do not
need a high level of communication you could possibly spawn a java process
seperate from the ruby process.

simon


On Mon, Feb 25, 2008 at 7:59 PM, Joe K <jkauzlar@hotmail.com> wrote:

> Hi, I'm looking for an interpreter for Java that allows me to run my Java
> programs on the ruby interpreter. I know there's a compiler that lets you
> run Java programs on the scala interpreter, but I can't find one to run
> Java on the ruby platform? Any >
>
>


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h54.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07727 seconds with 12 queries