18 Mar '13, 5am

“Rubyist Magazine - Ruby 2.0.0: GC improvements”

In previous versions of Ruby, the object graph is traversed and marked by using a recursive function call on the machine stack. This may lead to stack overflow when a very deep object graph is traversed. To avoid this, previous versions of Ruby GC stop using the machine stack when a stack overflow is about to happen. However, this leads to two additional problems: Marking becomes extremely slow when there are deeply referenced objects. The quality of detecting a stack overflow is not accurate. For the former case, the worst case scenario is very slow because not using the machine stack means you need to search for everything in the heap. In addition, GC will be slow as long as these deeply referenced objects exist. For the latter, it is very difficult to accurately check stack overflow in time, and sometimes this causes SEGV. In the worst case scenario, Fiber fails in the ...

Full article: http://jp.rubyist.net/magazine/?Ruby200SpecialEn-gc

Tweets

"Rubyist Magazine: Ruby 2.0.0 Release special a...

jp.rubyist.net 14 Mar '13, 7pm

Ruby 2.0.0 was released at 2/24/2013 (Ruby 2.0.0-p0 is released ). Please check the official news for basic information su...

長さが足りませんでしたが 

jp.rubyist.net 24 Mar '13, 4pm

version.h (RUBY_RELEASE_DATE): finally declare start of 2.0 work!

Introduction to DTrace with Ruby 2.0

jp.rubyist.net 17 Mar '13, 2am

Aaron was born and raised on the mean streets of Salt Lake City. His only hope for survival was to join the local gang of ...

Read/Write Text Files: Ruby Study Notes - Best ...

rubylearning.com 18 Mar '13, 4pm

<Random Numbers | TOC | Regular Expressions> Let's look at how we can read / write to a text file with the help of a simpl...

no document…

gembundler.com 21 Mar '13, 5am

Creates a skeleton for creating a rubygem $ bundle gem GEM [--bin or -b] Options: --bin or -b : Generate a binary for your...

Using ElasticSearch with Ruby

rubyflow.com 22 Mar '13, 11am

Using ElasticSearch with Ruby Posted by codegram on March 22, 2013 — 0 comments We just published the slides from the usin...

Are you a Ninja or Peasant? Weekend fun

rubylearning.com 30 Mar '13, 4am

: The Ruby Logo is Copyright (c) 2006, Yukihiro Matsumoto. I have made extensive references to information, related to Rub...

@_ko1 ドキュメントが… って無かった!

gembundler.com 21 Mar '13, 5am

Creates a skeleton for creating a rubygem $ bundle gem GEM [--bin or -b] Options: --bin or -b : Generate a binary for your...

の記述が全般的に古いと苦情をうけている

ruby-lang.org 27 Mar '13, 6pm

Certain members of the Ruby community feel very strongly that you should never use a package manager to install Ruby, and ...