meta programming

Ibuildings techPortal: DPCRadio: The Cake is a Lie

PHPDeveloper.org  Tue, 03/15/2011 - 12:17

On the Ibuildings techPortal today they've posted the latest episode of their recording series from last year's Dutch PHP Conference (DPCRadio) - Sebastian Bergmann's talk The Cake is a Lie.


 

Directly Reflective Meta-Programming

Lambda the Ultimate - Programming Languages Weblog  Sat, 11/13/2010 - 09:37

I was recently pointed to the following fascinating paper:

Directly Reflective Meta-Programming, Aaron Stump (HOSC 22(2), June 2009).


 

Backgrounded: A Simple Wrapper for Ruby Background Tasks

Ruby Inside  Thu, 07/23/2009 - 14:58

backgroundedLike Ryan Sonnek, I've dabbled with a few different ways to run background processes in my Ruby apps, even resorting to knocking together my own (far from perfect) solution.


 

Six Quick Optimization Tips for the Ruby Interpreter

Ruby Inside  Thu, 07/10/2008 - 18:33

Ilya Grigorik of Igvita has put together a great article called 6 Optimization Tips for Ruby MRI.

In it, he walks through six different things you can do to improve the performance of your code when running on the regular Ruby interpreter (MRI).

For example, interpolation is quicker than concatenation when working with strings, destructive operations prevent wasteful object duplication, and hand-written blocks are a lot faster than Symbol#to_proc.