Cargando…

Ruby Under a Microscope : Learning Ruby Internals Through Experiment.

How Ruby Works Under the HoodRuby is a powerful programming language with a focus on simplicity, but beneath its elegant syntax it performs countless unseen tasks. Ruby Under a Microscope gives you a hands-on look at Ruby's core, using extensive diagrams and thorough explanations to show you ho...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Shaughnessy, Pat
Formato: Electrónico eBook
Idioma:Inglés
Publicado: San Francisco : No Starch Press, 2013.
Temas:
Acceso en línea:Texto completo

MARC

LEADER 00000cam a2200000 i 4500
001 EBOOKCENTRAL_ocn865331728
003 OCoLC
005 20240329122006.0
006 m o d
007 cr |n|||||||||
008 131214s2013 cau o 000 0 eng d
040 |a EBLCP  |b eng  |e pn  |c EBLCP  |d E7B  |d OCLCQ  |d N$T  |d OCLCF  |d OCLCQ  |d OCLCO  |d CNNOR  |d COO  |d OCLCQ  |d JBG  |d AGLDB  |d MOR  |d PIFPO  |d ZCU  |d MERUC  |d OCLCQ  |d ICG  |d AU@  |d OCLCQ  |d TKN  |d DKC  |d OCLCQ  |d AJS  |d OCLCO  |d OCLCQ  |d OCLCO  |d OCLCL 
019 |a 874814087  |a 1058121502 
020 |a 9781593275617  |q (electronic bk.) 
020 |a 1593275617  |q (electronic bk.) 
020 |a 9781593275273  |q (e-book) 
020 |a 1593275277  |q (e-book) 
029 1 |a AU@  |b 000052907409 
029 1 |a DEBBG  |b BV043036433 
029 1 |a DEBSZ  |b 424634287 
029 1 |a NZ1  |b 15493908 
035 |a (OCoLC)865331728  |z (OCoLC)874814087  |z (OCoLC)1058121502 
050 4 |a QA76.73 .R83 
072 7 |a COM  |x 000000  |2 bisacsh 
082 0 4 |a 005.133  |a 006.76 
049 |a UAMI 
100 1 |a Shaughnessy, Pat. 
245 1 0 |a Ruby Under a Microscope :  |b Learning Ruby Internals Through Experiment. 
260 |a San Francisco :  |b No Starch Press,  |c 2013. 
300 |a 1 online resource (362 pages) 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
505 0 |a Foreword; Acknowledgments; Introduction; Who This Book Is For; Using Ruby to Test Itself; Which Implementation of Ruby?; Overview; Chapter 1: Tokenization and Parsing; Roadmap; Tokens: The Words That Make Up the Ruby Language; The parser_yylex Function; Experiment 1-1: Using Ripper to Tokenize Different Ruby Scripts; Parsing: How Ruby Understands Your Code; Understanding the LALR Parse Algorithm; Some Actual Ruby Grammar Rules; Reading a Bison Grammar Rule; Experiment 1-2: Using Ripper to Parse Different Ruby Scripts; Summary; Chapter 2: Compilation; Roadmap; No Compiler for Ruby 1.8. 
505 8 |a Ruby 1.9 and 2.0 Introduce a CompilerHow Ruby Compiles a Simple Script; Compiling a Call to a Block; How Ruby Iterates Through the AST; Experiment 2-1: Displaying YARV Instructions; The Local Table; Compiling Optional Arguments; Compiling Keyword Arguments; Experiment 2-2: Displaying the Local Table; Summary; Chapter 3: How Ruby Executes Your Code; Roadmap; YARV's Internal Stack and Your Ruby Stack; Stepping Through How Ruby Executes a Simple Script; Executing a Call to a Block; Taking a Close Look at a YARV Instruction; Experiment 3-1: Benchmarking Ruby 2.0 and Ruby 1.9 vs. Ruby 1.8. 
505 8 |a Local and Dynamic Access of Ruby VariablesLocal Variable Access; Method Arguments Are Treated Like Local Variables; Dynamic Variable Access; Climbing the Environment Pointer Ladder in C; Experiment 3-2: Exploring Special Variables; A Definitive List of Special Variables; Summary; Chapter 4: Control Structures and Method Dispatch; Roadmap; How Ruby Executes an if Statement; Jumping from One Scope to Another; Catch Tables; Other Uses for Catch Tables; Experiment 4-1: Testing How Ruby Implements for Loops Internally; The send Instruction: Ruby's Most Complex Control Structure. 
505 8 |a Method Lookup and Method DispatchEleven Types of Ruby Methods; Calling Normal Ruby Methods; Preparing Arguments for Normal Ruby Methods; Calling Built-In Ruby Methods; Calling attr_reader and attr_writer; Method Dispatch Optimizes attr_reader and attr_writer; Experiment 4-2: Exploring How Ruby Implements Keyword Arguments; Summary; Chapter 5: Objects and Classes; Roadmap; Inside a Ruby Object; Inspecting klass and ivptr; Visualizing Two Instances of One Class; Generic Objects; Simple Ruby Values Don't Require a Structure at All; Do Generic Objects Have Instance Variables? 
505 8 |a Reading the RBasic and RObject C Structure DefinitionsWhere Does Ruby Save Instance Variables for Generic Objects?; Experiment 5-1: How Long Does It Take to Save a New Instance Variable?; What's Inside the RClass Structure?; Inheritance; Class Instance Variables vs. Class Variables; Getting and Setting Class Variables; Constants; The Actual RClass Structure; Reading the RClass C Structure Definition; Experiment 5-2: Where Does Ruby Save Class Methods?; Summary; Chapter 6: Method Lookup and Constant Lookup; Roadmap; How Ruby Implements Modules; Modules Are Classes. 
500 |a Includes a Module into a Class. 
520 |a How Ruby Works Under the HoodRuby is a powerful programming language with a focus on simplicity, but beneath its elegant syntax it performs countless unseen tasks. Ruby Under a Microscope gives you a hands-on look at Ruby's core, using extensive diagrams and thorough explanations to show you how Ruby is implemented (no C skills required). Author Pat Shaughnessy takes a scientific approach, laying out a series of experiments with Ruby code to take you behind the scenes of how programming languages work. You'll even find information on JRuby and Rubinius (two alternative implementations of Ruby). 
588 0 |a Print version record. 
590 |a ProQuest Ebook Central  |b Ebook Central Academic Complete 
650 0 |a Ruby (Computer program language) 
650 6 |a Ruby (Langage de programmation) 
650 7 |a COMPUTERS  |x General.  |2 bisacsh 
650 7 |a Ruby (Computer program language)  |2 fast 
758 |i has work:  |a Ruby under a microscope (Text)  |1 https://id.oclc.org/worldcat/entity/E39PCGrvHmkdPct6VRKMQGv8RX  |4 https://id.oclc.org/worldcat/ontology/hasWork 
776 0 8 |i Print version:  |a Shaughnessy, Pat.  |t Ruby Under a Microscope : Learning Ruby Internals Through Experiment.  |d San Francisco : No Starch Press, ©2013  |z 9781593275273 
856 4 0 |u https://ebookcentral.uam.elogim.com/lib/uam-ebooks/detail.action?docID=1572882  |z Texto completo 
936 |a BATCHLOAD 
938 |a ebrary  |b EBRY  |n ebr10812739 
938 |a EBSCOhost  |b EBSC  |n 667553 
994 |a 92  |b IZTAP