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 > ruby on windows
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
ruby on windows

Réponse
 
LinkBack Outils de la discussion
Vieux 11/03/2008, 18h11   #1
t3chn0n3rd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut ruby on windows

right now I am running ruby on red hat 8. Is there a compiler for
windows vista?
  Réponse avec citation
Vieux 11/03/2008, 18h46   #2
Thomas Wieczorek
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ruby on windows

On Tue, Mar 11, 2008 at 6:14 PM, t3chn0n3rd <darrin_allen@japan.com> wrote:
> right now I am running ruby on red hat 8. Is there a compiler for
> windows vista?
>


There are interpreters for all Windows plattform, yes. Some WinAPI
libraries might not work though

  Réponse avec citation
Vieux 12/03/2008, 02h58   #3
Tim Hunter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ruby on windows

t3chn0n3rd wrote:
> right now I am running ruby on red hat 8. Is there a compiler for
> windows vista?
>


If by "compiler" you mean "interpreter," then yes. Google
"ruby+windows". If by "compiler" you mean "a thing that turns Ruby code
into object code," then no. There are no Ruby compilers. If you mean
something else, please clarify.

--
RMagick: http://rmagick.rubyforge.org/
RMagick 2: http://rmagick.rubyforge.org/rmagick2.html

  Réponse avec citation
Vieux 13/03/2008, 13h46   #4
James Tucker
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ruby on windows


On 12 Mar 2008, at 01:58, Tim Hunter wrote:

> t3chn0n3rd wrote:
>> right now I am running ruby on red hat 8. Is there a compiler for
>> windows vista?

>
> If by "compiler" you mean "interpreter," then yes. Google "ruby
> +windows". If by "compiler" you mean "a thing that turns Ruby code
> into object code," then no. There are no Ruby compilers. If you mean
> something else, please clarify.


Except the one in jruby. oh and rubinius (is that working yet?). Oh
and 1.9.



>
>
> --
> RMagick: http://rmagick.rubyforge.org/
> RMagick 2: http://rmagick.rubyforge.org/rmagick2.html
>



  Réponse avec citation
Vieux 13/03/2008, 14h05   #5
Fred Talpiot
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ruby on windows

t3chn0n3rd wrote:
> right now I am running ruby on red hat 8. Is there a compiler for
> windows vista?


I have several ruby-on-rails projects that run on Windows XP 32-bit and
run the same on Linux 64-bit. So yes, they're compatible.

Uh, they run 'the same' with the exception that the faster hardware runs
it faster, of course.


--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 13/03/2008, 14h24   #6
Tim Hunter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ruby on windows

James Tucker wrote:
> On 12 Mar 2008, at 01:58, Tim Hunter wrote:
>
>> t3chn0n3rd wrote:
>>> right now I am running ruby on red hat 8. Is there a compiler for
>>> windows vista?

>>
>> If by "compiler" you mean "interpreter," then yes. Google "ruby
>> +windows". If by "compiler" you mean "a thing that turns Ruby code
>> into object code," then no. There are no Ruby compilers. If you mean
>> something else, please clarify.

>
> Except the one in jruby. oh and rubinius (is that working yet?). Oh
> and 1.9.
>
>


I knew somebody would quibble. That's why I specified "a thing that
turns Ruby code into object code." Neither JRuby nor YARV is turns Ruby
code into object code. VM instructions, yes. Object code, no.
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 13/03/2008, 17h08   #7
James Tucker
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ruby on windows


On 13 Mar 2008, at 13:24, Tim Hunter wrote:

> James Tucker wrote:
>> On 12 Mar 2008, at 01:58, Tim Hunter wrote:
>>
>>> t3chn0n3rd wrote:
>>>> right now I am running ruby on red hat 8. Is there a compiler for
>>>> windows vista?
>>>
>>> If by "compiler" you mean "interpreter," then yes. Google "ruby
>>> +windows". If by "compiler" you mean "a thing that turns Ruby code
>>> into object code," then no. There are no Ruby compilers. If you mean
>>> something else, please clarify.

>>
>> Except the one in jruby. oh and rubinius (is that working yet?). Oh
>> and 1.9.
>>
>>

>
> I knew somebody would quibble. That's why I specified "a thing that
> turns Ruby code into object code." Neither JRuby nor YARV is turns
> Ruby
> code into object code. VM instructions, yes. Object code, no.


I don't really want to argue, but I do feel it's important to point
this out. Most code that you will ever write (including C or any form
of assembler to run under an operating system (any of the 6 most
common OSes), runs inside a virtual machine). Whilst some or even most
of the instructions may run directly on the processor, there are many
layers of indirection providing a genuine virtual machine experience.
That is, memory management, scheduling, memory access security, and so
on and so forth. Many C heads (of which I am actually not one) will
tell you that "most C code is written for a virtual machine on any
modern OS".

Now if you want to get 1 step closer to the processor, and this is
your definition (of object code), that's fine, but there are often no
genuine benefits to doing so, by comparison to what becomes available
expanding the size (or more specifically capability) of the VM you run
on. Start up time aside, it's relatively well known that Java is
starting to push these boundaries.

The real gain that businesses see to 'object code' is that it is very
hard to 'steal implementation code' from 'object code'. This is partly
a product of optimization and of the effective (co-incidental)
obfuscation of the code. According to some of the Jruby folks, it's
very hard indeed, to get 'implementation code' from jruby compiled
classes.

Moreover, I'm not sure it's practical, or even entirely possible, to
implement ruby without at least some 'VM' style code running in the
background, even under an attempt to make that all static, stateless
code. I'd like to be proven wrong, though.

As I say, I don't want to argue on the definition of object code. We
probably share different opinions. This is just mine, and I'm happy to
discuss it, but not to argue. :-)

  Réponse avec citation
Vieux 13/03/2008, 20h13   #8
Fred Talpiot
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ruby on windows

C and assembler run directly on the hardware. Sometimes in user mode,
sometimes in kernel mode. Sometimes with an extensive run time library,
sometimes without.

I suppose you could call virtual memory a 'VM', but few do. And neither
C nor assembler require virtual memory underneath.

James Tucker wrote:

> Most code that you will ever write (including C or any form
> of assembler to run under an operating system (any of the 6 most
> common OSes), runs inside a virtual machine).

--
Posted via http://www.ruby-forum.com/.

  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 07h10.


É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,14404 seconds with 16 queries