Guus Bosman

software executive and technologist


You are here

At Red Hat for a Raleigh.rb user's group meeting. Interesting talk by Sean Johnson on native C-extensions for Ruby.

Guus is at Red Hat for a Raleigh.rb user's group meeting. Interesting talk by Sean Johnson on native C-extensions for Ruby.

Comments

This was an interesting tutorial on how to write C extension for Ruby. Nicely done, with good code examples.

The message was pretty clear -- it is possible to do it, and it can work well, but premature optimization is the mother of all evil ;)

1. stop, isolate (require 'benchmark') & think
2. don't do it
3. keyboard -> whiteboard
4. do it "right" (Google, Knuth)
5. optimize: know how to profile

Recent comments

Recently read

Books I've recently read: