Author Archives: Tim King

Benchmarking Perl 6: How Ready for Prime Time Is It?

Here are the slides from the talk I gave at this month’s Boston Perl Mongers meeting, this past Tuesday: Benchmarking Perl 6: How Ready for Prime Time Is It? The talk examines: Perl 6’s suitability for “production.” (Your definition may … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

More Simple Stats with Perl 6

Last time, a time long, long ago, in a universe far, far away, I left you with the following Perl 6 code (or something like it). This code reads in a series of book heights and displays the number of … Continue reading

Posted in Uncategorized | Tagged , , | 4 Comments

Reason #2 Why We Write Unit Tests

Seen on DamnLOL… Ninety-nine little bugs in the code, Ninety-nine little bugs! You take one down, patch it around, A hundred and seventeen bugs in the code! (See also Twelve Benefits of Writing Unit Tests First.)

Posted in Uncategorized | Tagged , , , | Leave a comment

Some Simple Stats with Perl 6

When my daughter told me she was taking statistics, I wondered how she could do that without knowing any calculus. Then on second thought, I guess there is a certain amount you can do with statistics, even without knowing any … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

How Fast (or Slow) Is Perl 6?

In my previous post, I created a short, simple, sweet, and très élégant Perl 6 function to find all the primes up to a given maximum. Unfortunately, Rakudo spent over 11 seconds to find the 168 primes up to 1000. … Continue reading

Posted in Uncategorized | Tagged , , , | 5 Comments

Perl 6 and the Price of Elegant Code

The project that first made me fall in love with Perl… Perl 5 had recently launched, with new features for object-oriented programming, includable modules, lexically scoped variables, and references—including closures. At the time, I was writing boot code, diagnostics, and … Continue reading

Posted in Uncategorized | Tagged , , , , | 3 Comments

Perl 6’s Top 3 Coolest Features

Perl 6 has some really cool features. Features I’d like to use in production projects. But is Perl 6 suitable for production? I keep hearing, no, because it’s unstable, the spec is still being hammered out, there are still too … Continue reading

Posted in Uncategorized | Tagged | 2 Comments

This Site Is Such a Hack

I’ve been wanting to set up a software-development blog for some time. And for some time I’ve been wrestling with the pains of managing multiple WordPress blogs. Back in the day, when I had just my writing blog and a … Continue reading

Posted in Uncategorized | Tagged , , | 1 Comment

State-of-the-Art Computer Folklore (part 5)

This is part 5 in my series of how the Mac reminded me why I fell in love with software development, and why it still matters. While reading Andy Hertzfeld’s anecdotes (and those of his colleagues) of designing the original … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

State-of-the-Art Computer Folklore (part 4)

This is part 4 in my series of how the Mac reminded me why I fell in love with software development, and why it still matters. While reading Andy Hertzfeld’s anecdotes (and those of his colleagues) of designing the original … Continue reading

Posted in Uncategorized | Tagged , , , | 1 Comment