Home » Software Development » Ruby 2.1 Released

About Theodora Fragkouli

Theodora Fragkouli
Theodora has graduated from Computer Engineering and Informatics Department in the University of Patras. She also holds a Master degree in Economics from the National and Technical University of Athens. During her studies she has been involved with a large number of projects ranging from programming and software engineering to telecommunications, hardware design and analysis. She works as a junior Software Engineer in the telecommunications sector where she is mainly involved with projects based on Java and Big Data technologies.

Ruby 2.1 Released

Ruby 2.1 is officially released. According to Ruby 2.1.0 Released, Delivering new GC Ruby 2.1 release has brought changes in garbage collector that will improve performance.

The “Mark & Sweep” implementation of previous versions is now replaced by the RGenGC (Restricted Generational Garbage Collection) implementation. As Ruby developer Koichi Sasada had observed in April 2013, the challenge was to implement a GC algorithm that could handle both protected and unsafe objects in the same heap.

RGenGC implementation uses Write-Barriers so as to avoid rewriting all existing C-extensions to use the new GC. In RubyConf 2013, Sasada showed how RGenGC provides a third way given the 2 original alternatives:
A) Do not implement generational GC at all (as in Ruby 2.0 & before) or
B) Implement Generational GC with a requirement that all C-extensions are rewritten.

RgenGC is compatible with existing extensions and also provides performance improvements. Array, String, Hash, Object, and Numeric are all Write-Barrier protected objects, so the RGenGC system can be used in these cases. Work on both internal and external libraries will offer the possibility of additional performance gains in the future.

Other very important improvements, appart from the garbage collection system include RDoc 4.1.0, RubyGems 2.2.0, and several updated libraries. You can find a full list of 2.1 release changes at the release notes located at the project’s GitHub page.

Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

6. Spring Interview Questions

7. Android UI Design

and many more ....

Leave a Reply

Your email address will not be published. Required fields are marked *

*


6 × = eighteen

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close