Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

Interesting Ruby Tidbits That Don’t Need Separate Posts #16

By Peter Cooper / February 9, 2008

ruby-prof 0.6.0 Released

Charlie Savage wants to get the word out about the latest release of ruby-prof, 0.6.0. ruby-prof is an amazing Ruby profiler that's both faster and more detailed than the standard "profile" library that comes with Ruby. The biggest news is that 0.6.0 supports Ruby 1.9, and Charlie suggests that ruby-prof may even become an official part of Ruby in the future. Experimental support for memory profiling has also been added. This is a great update of one of the best Ruby tools. Charlie also wanted to stress that most of the work in this release was done by Shugo Maeda.

New Pragmatic Programmers Release: "Rails for PHP Developers" Book Now Shipping

sidebar_book.gif

The Pragmatic Programmers are now shipping "Rails for PHP Developers" by Derek DeVries and Mike Naberezny. The book takes the approach that its reader will be a proficient PHP coder, and demonstrates the ideal way to convert their thinking from PHP over to Rails / Ruby. I'm quite surprised a book like this hasn't come out already. I haven't read the book or had a preview at all, but the well-written blog backing the launch of the book gives me enough confidence to recommend it to PHP developers none-the-less.

Workling: Another alternative to BackgroundDRb, beanstalkd, Thruqueue, spawn...

Rany Keddo wrote in with news of a new asynchronous processing plugin called Workling. It's based on Starling, the persistent queueing daemon released by Twitter recently. Rany posts an interesting quote from Evan Weaver which highlights various problems with the alternatives, such as BackgrounDRb, Spawn, Thruqueue and BackgroundFu. It's still early days but Workling could be an interesting, and more stable, alternative to all the other systems currently in play in this area.

Ruby.NET is dead, cedes to IronRuby - the other "Ruby.NET"

A few days ago David Lake pointed out this post about the "demise" of Ruby.NET to me. Initially I wasn't particularly interested, as I don't understand the .NET space too well or its relevance to Ruby. Clearly a lot of people do get it, however, and there have been quite a lot of references to Ruby.NET's demise in the blogosphere. Two references worth reading are On Ruby's post and a post at RegDeveloper. The focus on a .NET-powered Ruby implementation therefore switches to Microsoft's own IronRuby.

Comments

  1. Mark Thomas says:

    I just started using spawn... it makes background processing super-simple. This is all you have to do:

    spawn do
    #background process here
    end

    Of course, there are other options, choice of forking or threading, etc. but so far I am extremely pleased with it.

  2. rany says:

    @mark: we started out exactly like this. spawn is great and very simple to use. but as evan points out: if you just want to fire and forget a local process as you say, spawn is pretty good. on the other hand, you don’t get any message reliability or cross-machine scheduling.

    with workling i don't need to decide. i can use the spawn runner, and all that does internally is yield to spawn in a few lines of code. if i want to step up to remote machines, all you need is one line in your environment.rb:

    Workling::Remote.dispatcher = Workling::Remote::Runners::StarlingRunner.new

    that said, if all you're ever going to want is spawn, you probably don't need workling or starling.

  3. john says:

    Pining for the fields:

    Appears to be not dead yet.
    http://weblog.infoworld.com/techwatch/archives/015832.html

Other Posts to Enjoy

Twitter Mentions