08 Aug '12, 5pm

Decent article: "Ruby concurrency explained"

Decent article: "Ruby concurrency explained"

Earlier we talked a bit about the actor model . Since Ruby 1.9, developers now have access to a new type of “lightweight” threads called Fibers . Fibers are not actors and Ruby doesn’t have a native Actor model implementation but some people wrote some actor libs on top of fibers. A fiber is like a simplified thread which isn’t scheduled by the VM but by the programmer. Fibers are like blocks which can be paused and resumed from the outside of from within themselves. Fibers are faster and use less memory than threads as demonstrated in this blog post . However, because of the GIL, you still cannot truly run more than one concurrent fiber by thread and if you want to use multiple CPU cores, you will need to run fibers within more than one thread. So how do fibers help with concurrency? The answer is that they are part of a bigger solution. Fiber allow developers to manually...

Full article: http://merbist.com/2011/02/22/concurrency-in-ruby-explained/

Tweets

Ruby Fibers: 8 Useful Reads On Ruby’s New Concu...

rubyinside.com 08 Aug '12, 8am

Ruby Fibers: 8 Useful Reads On Ruby’s New Concurrency Feature By Peter Cooper / May 13, 2009 New to Ruby 1.9 is the concep...

Oui, mais sans pied :-( // Aux USA, on peut boi...

starbucksmelody.com 07 Aug '12, 1pm

Melody I love these wine glasses! Only available at the Evenings store what a shame. I like the permission to relax slogan...

Old but good post on Ruby mixins and a class alternative:

Old but good post on Ruby mixins and a class al...

robots.thoughtbot.com 08 Aug '12, 9pm

Ruby’s “mixins” provide a simple, middle-ground option to developers that wish to include reusable functionality in severa...

Meet RubyLearning's Blog Authors and Rubyists *...

rubylearning.com 04 Aug '12, 2am

How Does One Use Design Patterns In Ruby? This guest post is by Chee Yeo , a 32-year-old Ruby Rails sometimes IPhone progr...

Fact: There's about one piece of litter out there for every foot of U.S. roadways.

Fact: There's about one piece of litter out the...

earth911.com 07 Aug '12, 3pm

According to Keep America Beautiful’s (KAB) largest-ever litter study , over 51 billion pieces of trash end up on U.S. roa...

Interactive Ruby Learning

rubyflow.com 05 Aug '12, 4pm

Interactive Ruby Learning Posted by samnang on August 05, 2012 — 0 comments This weekend, I gave a talk about Interactive ...

How the world's trash problem presents profit opportunity

How the world's trash problem presents profit o...

greenbiz.com 09 Aug '12, 2pm

The skyrocketing growth of solid municipal waste worldwide may have a silver lining: new opportunities for waste managemen...

Do you know how to write an internal DSL in Ruby?:

rubylearning.com 08 Aug '12, 6am

Ruby code blocks (called closures in other languages) are chunks of code between braces or between do- end that you can as...

Ruby 2.0 Refinements in Practice « Katz Got You...

yehudakatz.com 03 Aug '12, 7pm

wycats, Posted November 30, 2010, 3:56 am In my mind, in Ruby < 2.0, there's a category of library which is "provide a num...