Cool

Streamlined: Even faster Rails application development

Streamlined is a framework that sits about Ruby on Rails and makes developing Rails applications even quicker than possible with scaffolding alone. It includes a ton of useful stuff like pre-built layouts, a REST layer around all the models, support for Atom, and its own DSL. As developer Justin Gehtland explains:

Read more →

Railsbench: Measure the raw speed of Rails applications

Railsbench, by Stefan Kaes, is a collection of scripts that makes benchmarking a Rails application quick and easy. Rather than benchmark over HTTP, Railsbench tests the 'raw' speed of your application directly, and won't include latencies involved with the network or between your HTTP daemon and Rails. If you love statistics, you'll love Railsbench. Here's some demonstration output:

Read more →

Ruby.NET: A Ruby compiler for the .NET CLR

There are a few efforts to develop crossovers between .Net and Ruby, but Ruby.NET one that is creating a compiler for the Ruby language that targets the .NET CLR in much the same way as JRuby targets the Java Virtual Machine. This particular implementation is unique in that it can pass all 871 tests in the samples/test.rb of Ruby 1.8.2.

Read more →

How to create a Ruby extension in C in under 5 minutes

Many coders will reach a situation where developing a C extension makes sense, whether for doing 'heavy lifting', diving into assembly language, interfacing with other C code, etc. Luckily, developing a basic Ruby extension in C is easy.

Read more →

A presentation of Idiomatic Ruby

Idiomaticruby
Idiomatic Ruby is an online presentation by Toby DiPasquale that goes through some of the more idiomatic features of Ruby, those that newcomers to Ruby might be confused by or overlook. It covers Modules and Mixins, Exceptions, Regular Expressions, Duck Typing, Iterators, method_missing, Continuations, Closures and Blocks, and is very concise and well put together.

Read more →

BackgrounDRb: Run long running tasks in the background, and not in your Rails app

BackgrounDRb, by Ezra Zygmuntowicz, is a system that lets you run long running tasks in the background, and not in the scope of your application. For example, you might have a Rails application that needs to send 100 e-mails, but rather than tie it to an HTTP request, you can simply pass off the job to a BackgrounDRb object and let the user know everything is proceeding as planned. There's more information here.

Read more →

Charming Ruby Compiler

The Charming Ruby Compiler is charming not just by name, but by nature. It's a thesis project at the Computer Science Department at Chalmers University of Technology in Sweden to develop a proof of concept Ruby compiler that compiles to the C-- intermediate language. So far, they've only got the basics working, but it's an interesting project, if only to learn about C--, an interesting 'portable assembly language' that makes life easier for compiler developers. It seems a little like Parrot, and is funded by Microsoft Research and the National Science Foundation.

Read more →