Raku: a language that counts to infinity (Part 2)

In this part, let’s look at infinite sequences from another angle: let’s start collecting the values. First of all, Raku has a pair of built-in routines gather and take. They are useful when you need to collect data that’s computed along the way. For example: my @data = gather { for ^50 { my $value … Continue reading “Raku: a language that counts to infinity (Part 2)”

Early Raku++ adopters

For the first time in ~18 years, I am genuinely excited to use Perl 6 (Raku) again. <…> Finally usable for real-world scenarios!perlancer on X The Raku++ project started on July 1. Today it’s been about two months since then, so let me tell you about some external activities where other people are already using … Continue reading “Early Raku++ adopters”

Raku: a language that counts to infinity (Part 1)

We’ve already seen that Raku understands characters like ∞, and it would be logically that you can use them with ease, similar to any other constructs of the language. Take, for example, a sequence with no definite end. You define a pattern and take as many items as you need. say (1, 1, * + … Continue reading “Raku: a language that counts to infinity (Part 1)”

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++”