• Complain

Shaughnessy - Ruby under a microscope: an illustrated guide to Ruby internals

Here you can read online Shaughnessy - Ruby under a microscope: an illustrated guide to Ruby internals full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: San Francisco;Calif, year: 2014;2013, publisher: No Starch Press, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Shaughnessy Ruby under a microscope: an illustrated guide to Ruby internals
  • Book:
    Ruby under a microscope: an illustrated guide to Ruby internals
  • Author:
  • Publisher:
    No Starch Press
  • Genre:
  • Year:
    2014;2013
  • City:
    San Francisco;Calif
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Ruby under a microscope: an illustrated guide to Ruby internals: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Ruby under a microscope: an illustrated guide to Ruby internals" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

An under-the-hood look at how the Ruby programming language runs code. Extensively illustrated with complete explanations and hands-on experiments. Covers Ruby 2.x--;Tokenization and Parsing -- Compilation -- How Ruby Executes Your Code -- Control Structures and Method Dispatch -- Objects and Classes -- Method Lookup and Constant Lookup -- The Hash Table : The Workhorse of Ruby Internals -- How Ruby Borrowed a Decades-Old Idea from Lisp -- Metaprogramming -- JRuby : Ruby on the JVM -- Garbage Collection Basics in Rubinius and MRI -- Conclusion.;Ruby is a powerful programming language with a focus on simplicity, but beneath its elegant syntax, the language is performing countless unseen tasks. Ruby Under a Microscope gives developers an inside, hands-on look at Rubys core, using simple diagrams coupled with clear explanations. Author Pat Shaughnessy takes a scientific approach, laying out a series of experiments with Ruby code to demonstrate how things work. Shaughnessys lucid illustrations will serve as a guide for developers writing Ruby programs. Developers of all stripes will find this a fascinating behind the scenes look at how programming languages work--

Shaughnessy: author's other books


Who wrote Ruby under a microscope: an illustrated guide to Ruby internals? Find out the surname, the name of the author of the book and a list of all author's works by series.

Ruby under a microscope: an illustrated guide to Ruby internals — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Ruby under a microscope: an illustrated guide to Ruby internals" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Ruby Under a Microscope: An Illustrated Guide to Ruby Internals
Pat Shaughnessy
Published by No Starch Press

To my wife, Cristina; my daughter, Ana; and my son, Liamthanks for supporting me all along.

Advance Praise for Ruby under a Microscope

Many people have dug into the Ruby source code, but few make it back out and tell the tale as elegantly as Pat does in Ruby Under a Microscope ! I particularly love the diagramsand there are lots of themas they make many opaque implementation topics a lot easier to understand, especially when coupled with Pats gentle narrative. This book is a delight for language implementation geeks and Rubyists with a penchant for digging into the guts of their tools.

P ETER C OOPER (@PETERC), E DITOR OF R UBY I NSIDE AND R UBY W EEKLY

Man, this book was missing in the Ruby landscapeawesome content.

X AVIER N ORIA (@FXN), R UBY H ERO , R UBY ON R AILS C ORE T EAM M EMBER

Pat Shaughnessy did a tremendous job writing THE book about Ruby internals. Definitely a must readyou wont find information like this anywhere else.

S ANTIAGO P ASTORINO (@SPASTORINO), W YE W ORKS C O -F OUNDER , R UBY ON R AILS C ORE T EAM M EMBER

I really enjoyed the book and now have a far better understanding of both Ruby and CS. The writing made very complex topics (at least for me) very accessible, and I found the book hard to put down. Diagrams were awesome and are already popping in my head as I code. This is by far one of my top 3 favourite Ruby books.

V LAD I VANOVIC (@VLADIIM), D IGITAL S TRATEGIST AT H OLLER S YDNEY

While Im not usually digging into Ruby Internals, this book was an absolutely awesome read.

D AVID D ERYL D OWNEY (@DAVIDDWDOWNEY), F OUNDER OF C YBERSPACE T ECHNOLOGIES G ROUP

About the Author

Pat Shaughnessy is a Ruby developer working at McKinsey & Co., a management consulting firm. Pat was originally trained as a physicist at MIT, but later spent more than 20 years working as a software developer using C, Java, PHP, and Ruby, among other languages. Writing Ruby Under a Microscope has given him an excuse to reuse bits of his scientific training while studying Ruby. A fluent Spanish speaker, Pat frequently visits his wifes family in northern Spain. He lives outside of Boston with his wife and two children.

Foreword

Oh, hi! I didnt see you come in. I dont want to be too forward, but let me preface this by saying you should buy this book!

My name is Aaron Patterson, but my Internet friends call me tenderlove. I am on both the Ruby core team and the Ruby on Rails core team, and I did the technical review of this book. Does that mean you should listen to me? No. Well, maybe.

Actually, when Pat approached me to do the technical review of this book, I was so excited that my top hat fell off and I dropped my monocle in my coffee! I knew about Pats previous work on Ruby Under a Microscope , and the idea of making an updated and print version available made me really happy. I think many developers are intimidated by Rubys internals and are afraid to dive in. Quite often people ask me how they can learn about how Ruby works under the hood or where to get started hacking on Ruby internals. Unfortunately I didnt have a good answer for peopleuntil now.

Pats style of writing, in combination with experimentation, makes Ruby internals very approachable. The experiments are combined with explanations of Rubys internals such that you can easily understand why Ruby acts the way it does with regard to behavior and performance. Next time you encounter some behavior in your Ruby code, whether it be with performance, local variables and your environment, or even garbage collection, this book wont just tell you why your code behaves the way it does, but will even tell you how .

If youre someone who wants to start hacking on Rubys internals, or if you just want to understand why Ruby acts the way it does without any handwaving, this is the book for you. I enjoyed this book, and I hope you will too.

Aaron Patterson <3 <3 <3 <3

Acknowledgments

I could never have finished a project like this without the support of many different people!

First of all, thanks to Satty Bhens and everyone else at McKinsey for giving me the flexibility to write a book and keep my day job at a great company. Alex Rothenberg and Daniel Higginbotham gave me invaluable advice, suffered through reading many early drafts, and helped me throughout the process. Special thanks to Xavier Noria, who took an interest in the project early on, gave me fantastic feedback on the entire rough draft, and was also the inspiration behind . Santiago Pastorino reviewed the rough draft as well. Jill Caporrimo, Prajakta Thakur, Yvannova Montalvo, Divya Ganesh, and Yanwing Wong were my proofreading SWAT team. Self-publishing would have been much harder without your help. Finally, without the constant encouragement and support Peter Cooper has given me this year, I probably never would have attempted to write this book. Thank you, Peter.

Thanks to everyone at No Starch Press for helping me bring an expanded, updated version of Ruby Under a Microscope to print. The result is a book Im proud of and one the Ruby internals topic deserves. Thanks to Julianne Jigour, my copyeditor. My writing has never been so clear and easy to follow. Thank you, Riley Hoffman and Alison Law, for your editing advice and for beautifully reproducing hundreds of diagrams for print. Youve been a pleasure to work with. Thanks to Charles Nutter for the technical help and advice on JVM garbage collection. Special thanks to Aaron Patterson: This is a more interesting and accurate book because of your great suggestions and technical review. Finally, thanks to Bill Pollock for reading and editing every single line of text in the book. Your guidance and expertise have allowed me to write a book I could never have dreamed of writing on my own.

Introduction
What seems complex from a distance is often quite simple when you look closely - photo 1

What seems complex from a distance is often quite simple when you look closely enough.

At first glance, learning how to use Ruby can seem fairly simple. Developers around the world find Rubys syntax to be graceful and straightforward. You can express algorithms in a very natural way, and then its just a matter of typing ruby at the command line and pressing enter , and your Ruby script is running.

However, Rubys syntax is deceptively simple; in fact, Ruby employs sophisticated ideas from complex languages like Lisp and Smalltalk. On top of this, Ruby is dynamic; using metaprogramming, Ruby programs can inspect and change themselves. Beneath this thin veneer of simplicity, Ruby is a very complex tool.

By looking very closely at Rubyby learning how Ruby itself works internallyyoull discover that a few important computer science concepts underpin Rubys many features. By studying these, youll gain a deeper understanding of what is happening under the hood as you use the language. In the process, youll learn how the team that built Ruby intends for you to use the language.

Ruby Under a Microscope will show you what happens inside Ruby when you run a simple program. Youll learn how Ruby understands and executes your code, and with the help of extensive diagrams, youll build a mental model of what Ruby does when you create an object or call a block.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Ruby under a microscope: an illustrated guide to Ruby internals»

Look at similar books to Ruby under a microscope: an illustrated guide to Ruby internals. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Ruby under a microscope: an illustrated guide to Ruby internals»

Discussion, reviews of the book Ruby under a microscope: an illustrated guide to Ruby internals and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.