What is Raku++

Raku++ is a compiler for the Raku programming language. It’s an independent implementation in C++ and its source code is located in the ash/rakupp repo on GitHub. Interpreter and Compiler Raku++ is both an interpreter and a compiler. You can pass your Raku program to the single rakupp binary: % cat > hello.raku say ‘Hello, … Continue reading “What is Raku++”

Raku: a language that speaks Unicode

Raku is by design a language that supports Unicode. So, yes, Unicode is special for both Raku and Raku++. This all starts from the visible surface, like when you can type Greek letters and use math symbols — even easier than you do it in LaTeX (in case you know how to type in non-ASCII … Continue reading “Raku: a language that speaks Unicode”

Raku in a Browser

Raku is a rich programming language; it took years to design and implement. That’s why running it in a browser seems an ambitious goal. Nevertheless, that’s mostly possible. Meet raku.online — a fully standalone Raku++ engine called Raku.js running in a browser. There are three main panels here: source code on the left, output panel … Continue reading “Raku in a Browser”

Raku: a Language Where 0.1 + 0.2 is 0.3

Programming languages are fascinating. Even if you think that these are the last days when you need to write code yourself, that only gives you more time to enjoy the beauty. In this article I would like to showcase some of the small but astonishing features of Raku. Even if you never had a chance … Continue reading “Raku: a Language Where 0.1 + 0.2 is 0.3”

The Complete Course of the Raku Programming Language

I am excited to announce that the Complete Course of Raku is now complete. All five parts of the course have been written and published. The original table of contents was refreshed and updated to include a few new items, which are marked with the ‘NEW’ icon. The earlier-published Part 1 got some updates too, in particular, … Continue reading “The Complete Course of the Raku Programming Language”

Raku++: The Long Read

How a from-scratch Raku compiler in C++ went from an empty directory to ~82% of the official test suite — plus a native code generator, a self-hosting toolchain, and a browser playground — in under three weeks. This is the long version of the story. The short version lives in the announcement; the disciplined version lives … Continue reading “Raku++: The Long Read”

Raku++ — the fastest Raku compiler

I have been following the development of the Raku programming language since the very beginning. It was Perl 6 for many years, and I had a dream to start using it in real projects. Honestly, I could, to some extent. The timeline for the last 20+ years was not linear at all, and had its … Continue reading “Raku++ — the fastest Raku compiler”

Counting Fridays the 13th in Raku

The Raku solution to the following task: Write a script to find out how many dates in the year are Friday 13th, assume that the current Gregorian calendar applies.

The Raku solution to the following task: Write a script to find out how many dates in the year are Friday 13th, assume that the current Gregorian calendar applies.

Built-in classes in Perl 5.38

This week, the new version of Perl was announced. The new version 5.38 is extremely interesting because it introduces classes, which are built-in in the core language. The feature is currently marked as experimental, but nevertheless it was interesting for me to try it out.

This week, the new version of Perl was announced. The new version 5.38 is extremely interesting because it introduces classes, which are built-in in the core language. The feature is currently marked as experimental, but nevertheless it was interesting for me to try it out.