It’s that time of the year… again

And we’re still around and kicking new advent posts with the best, the nicest and the merely possible in the Raku realm. Also the 13th year in a row for this calendar, and also 6th year since what was then called Perl 6 was released. Raku is now faster, it’s already in production in aContinue reading “It’s that time of the year… again”

Day 24: Christmas-oriented programming, part deux

In the previous installment of this series of articles, we started with a straightforward script, and we wanted to arrive to a sound object-oriented design using Raku. Our (re)starting point was this user story:

Day 23: Christmas-oriented design and implementation

Every year by the beginning of the school year, which starts by January 8th in the North Pole, after every version of the Christmas gift-giving spirit has made their rounds, Santa needs to sit down to schedule the classes of the North Pole Community College. These elves need continuous education, and they need to reallyContinue reading “Day 23: Christmas-oriented design and implementation”

Day 16: Writing faster Raku code, Part II

By Wim Vanderbauwhede This is the follow-on article about writing an expression parser in Raku. In the previous article, I explained the background looked at some basic performance comparisons relating to data structures for parsing and ways to process them: lists, parse trees, recursive descent and iteration. In this article, we’ll have a look atContinue reading “Day 16: Writing faster Raku code, Part II”

Day 14: Writing Faster Raku code, Part I

By Wim Vanderbauwhede Last year, in Perl land, I discussed the result of my attempts to optimize the performance of an expression parser which is part of my Perl-based Fortran source-to-source compiler. An expression parser takes strings representing expressions in a programming language (in my case Fortran) and turns it into a data structure calledContinue reading “Day 14: Writing Faster Raku code, Part I”

It’s that time of the year

When we start all over again with advent calendars, publishing one article a day until Christmas. This is going to be the first full year with Raku being called Raku, and the second year we have moved to this new site. However, it’s going to be the 12th year (after this first article) in aContinue reading “It’s that time of the year”

RFC22: Control flow: Builtin switch statement, by Damian Conway

The problem C has switch/case, and many other languages either copied it, or created a similar construct. Perl in 2000 didn’t have any such thing, and this was seen as a lack. A Tale of Two Languages This RFC not only became two (related) features, it did so in both Perl and Raku with dramaticallyContinue reading “RFC22: Control flow: Builtin switch statement, by Damian Conway”

20 years ago tomorrow

20 years ago, on the first of August, the inception of a language started to, well, incept. Actually, it started a bit earlier than that. Perl was in need of change, so it was decided that the community itself should propose what the language needed to do to go forward one step, from Perl 5Continue reading “20 years ago tomorrow”