From: Julian Leviston Date: 2008-04-15T10:18:47+09:00 Subject: Re: How das Ruby work Hi, It's an interpreter, so what happens is... you run your code with the "ruby" command, which does the following: 1. The interpreter goes through your code, instruction by instruction. 2. As it goes through your code, it converts each instruction into machine language. 3. Instruction by instruction, as it is converted to machine language, it is executed. This is akin to a human language interpreter (rather than a human language translator) - ie people whose job it is to convert communication between two people speaking different languages. A human language interpreter will translate each phrase as it is spoken, whereas a human language translator isn't under the "hammer" so much so to speak, so the product that they produce will be akin to a piece of software that is compiled - once finished, it is much faster to run the code, and likewise once translated, it is much faster to communicate the required communication. Hope this helps. Julian. Learn Ruby on Rails! Check out the FREE VIDS (for a limited time) VIDEO #4 coming soon! http://sensei.zenunit.com/ On 15/04/2008, at 10:34 AM, Stefan Huettenrauch wrote: > Hi together, > > Today I was looking for some (almost) scientific sources (pdf, > articles, > ...) that give an insight what really happens behind the scenes and > that > explains the technical details of Ruby; how does Ruby actually work?? > > Unfortunately I only found language references, how to code guides and > alike. Nothing that states what is really happening with my piece of > code when I call 'ruby myfile.rb' > > If you guys know some sources of such pdfs, books, articles, please > let > me know. > > Thanks > Stefan > -- > Posted via http://www.ruby-forum.com/. >