Rating:

Author: Pat Shaughnessy
ISBN : B00GK5P6L2
New from $17.25
Format: PDF
Download books file now Free Ruby Under a Microscope: An Illustrated Guide to Ruby Internals from mediafire, rapishare, and mirror link
Ruby 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), as well as in-depth explorations of Ruby's garbage collection algorithm.
Ruby Under a Microscope will teach you:
- How a few computer science concepts underpin Ruby's complex implementation
- How Ruby executes your code using a virtual machine
- How classes and modules are the same inside Ruby
- How Ruby employs algorithms originally developed for Lisp
- How Ruby uses grammar rules to parse and understand your code
- How your Ruby code is translated into a different language by a compiler
No programming language needs to be a black box. Whether you're already intrigued by language implementation or just want to dig deeper into Ruby, you'll find Ruby Under a Microscope a fascinating way to become a better programmer.
Covers Ruby 2.x, 1.9 and 1.8Direct download links available for Free Ruby Under a Microscope: An Illustrated Guide to Ruby Internals
- File Size: 5212 KB
- Print Length: 360 pages
- Publisher: No Starch Press; 1 edition (November 7, 2013)
- Sold by: Amazon Digital Services, Inc.
- Language: English
- ASIN: B00GK5P6L2
- Text-to-Speech: Enabled
X-Ray:
- Lending: Not Enabled
- Amazon Best Sellers Rank: #119,025 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
- #13
in Kindle Store > Kindle eBooks > Computers & Technology > Programming > Ruby - #21
in Kindle Store > Kindle eBooks > Cookbooks, Food & Wine > Regional & International > European > Mediterranean - #32
in Books > Computers & Technology > Programming > Languages & Tools > Ruby
- #13
in Kindle Store > Kindle eBooks > Computers & Technology > Programming > Ruby - #21
in Kindle Store > Kindle eBooks > Cookbooks, Food & Wine > Regional & International > European > Mediterranean - #32
in Books > Computers & Technology > Programming > Languages & Tools > Ruby
Free Ruby Under a Microscope: An Illustrated Guide to Ruby Internals
Ruby Under a Microscope is a remarkable dissection of the internals of Ruby's runtime environment. Definitely too much for the casual user, but an absolute must for the power user - the dissection of how hash tables work in Ruby "under the hood" is worth the book in of itself. Coverage of the innards of the runtime's garbage collection process is equally useful.
The experiments the author carries out throughout the book to show the language's behavior, or to measure performance, are not only great explanation of how things operate, they are entertaining to read - at least for those with a performance tuning eye or a desire to really understand what is going on. I love it, I have seen this done in class, I have done it myself, but it is a teaching model rarely seen in writing that fits this technically deep subject very well.
Fans of lisp will appreciate the credit that the author gives the venerable language for closures and for McCarthy's garbage collection algorithm, among other things.
The book is richly illustrated, and the diagrams help a great deal in following the details being discussed - as you can imagine, pointers^Hreferences are everywhere, and diagrams really make decoding the lay of the land much easier.
A minor negative, looks like No Starch used a lighter paper choice than their regular, thick heavy paper - a fancy attribute of their books that I have come to look forward to. I would expect this was done to limit the heft of this particular tome, that at 330-plus pages would have come out rather thick in the usual paper choice.
By Federico Lucifredi
This book is not for learning Ruby syntax or about building websites. Instead, it focuses on how Ruby does work under the covers. Explanations use diagrams and are clear overall. While the author does point out C files and some C code, understanding of the material does not depend on C knowledge as noted in the introduction. In my opinion, this is a great work for those trying to bridge the gap between using a programming language and really starting to think about how it works. I would say that the best audience for the book would be those who have some interest in compiler or language design. If you have already focused on such areas in formal course work, you probably won't come across as an in-depth theory approach, in my opinion, in this material (for example if you have the "Dragon Book" sitting on your reference shelf). However, the treatment is very approachable for the interested casual learner to pick up and understand subjects like tokenization and parsing and leave one with a solid foundation. The first 9 chapters focus on CRuby but chapters are also included on JRuby and Rubinius. I appreciated the author's use of "Experiments" such as showing how to use Ripper and RubyVM::InstructionSequence from your own Ruby programs. It's one thing to be able to see an example of YARV instructions for a canned book example but it is even more powerful to have the tools to get the output of your own custom scripts and modifications.
Overall conclusion: Very approachable look at Ruby language implementation. Having been interested in compliers, I found this a great introduction into this specific CS topic. It was also nice to see the book use a real language for the examples. I found the book unlike any other programming book I had read on Ruby and enjoyed the practical look under the hood of Ruby.
Disclaimer: I got a copy of this book for review as part of O'Reilly blogger program.
By IADev
Download Link 1 -
Download Link 2