Raku on Arduino

Raku++ is available on many platforms: macOS, Linux and Windows, as well as on small single-board computers such as the Raspberry Pi and the RISC-V Banana Pi board. What about microcontrollers and microcontroller boards? It’s now possible to run Raku programs on Arduino! The classic Arduino Hello, World! is a program that blinks an LED. Arduino … Continue reading “Raku on Arduino”

Raku Course updates

My Complete Course of the Raku programming language got a few useful updates. First, it now covers all the three Raku compilers (Rakudo, Raku++, and mutsu) and gives instructions on how to install and use them. Second, the Course got it’s own mobile application with the whole content and a built-in Raku++ compiler. The users … Continue reading “Raku Course updates”

Raku as a foreign language and more: learn.raku.online

I collected some user-facing pages at a separate subdomain: learn.raku.online. The most interesting part, to my opinion, is the section called ‘Raku as a foreign language’, where Raku is taught as if a student already speaks another language and learns Raku as a second tongue. Other sections on this site: — A Tour of Raku … Continue reading “Raku as a foreign language and more: learn.raku.online”

Better ways to install modules in Raku++

Raku++ comes with its own module manager. It uses a module store compatible with zef, but recent versions offer more convenient ways to install modules in bulk. TL;DR: Install all the dependencies used by the program: $ raku install program.raku Recursively install all the modules found in the directory: $ raku install -r dist/lib (Note … Continue reading “Better ways to install modules in Raku++”

Raku++ on RISC-V and more

Raku++ now fully works on the RISC-V architecture. Today’s release v5.3.0 includes a binary that you can just download and run. Some time ago, Alexey, one of the most enthusiastic Raku++ users, asked me if the compiler could run on that kind of computer. The answer was not that obvious: on the one hand, the … Continue reading “Raku++ on RISC-V and more”

Raku: a language where a value can have several values at once (Part 2)

Last time we saw that a junction is something you may treat as a single value, even though it’s more than that. For example, you can add a number to three numbers at once: my $j = 1 | 2 | 3; ($j + 10)>>.say; # 11, 12, 13, one per line Knowing this helps … Continue reading “Raku: a language where a value can have several values at once (Part 2)”

Using Raku in Python

TL;DR: $ pip install rakulang $ python Python 3.14.4 (main, Aug 20 2026, 10:41:58) [GCC 15.2.0] on linux Type “help”, “copyright”, “credits” or “license” for more information. >>> import rakulang >>> rakulang.interpreter().eval(“sub postfix:<!>($n) {[*] 1..$n}; say 5!”) 120 True >>> Raku in a Python program In other words, you can now use Raku in your … Continue reading “Using Raku in Python”

Raku++ v5.0.0 reaches 100.00% of Roast

The new version of Raku++, v5.0.0, has been released and it passes 100.00% of Roast. Roast is a test suite for Raku conformance: if an implementation passes it, it can call itself a Raku implementation. So Raku++ is formally an official Raku implementation now. I added .00% to the number on purpose, as a rounded … Continue reading “Raku++ v5.0.0 reaches 100.00% of Roast”

Raku: la lingua dove posso parlare italiano

(Raku: the language where I can speak Italian) There are a few interesting modules in the L10N namespace in the Raku ecosystem: L10N itself and the family of L10N::… modules written by different authors (I added three just yesterday). What these modules allow you to do is switch the built-in keyword dictionary of the language … Continue reading “Raku: la lingua dove posso parlare italiano”

Raku: a language where a value can have several values at once (Part 1)

If you did not get the idea from the title, here’s an example straight away: my $x = 5; say “OK” if $x == 3 | 5 | 7; This program prints OK, as $x holds 5, which is one of the options listed in 3 | 5 | 7. The construct 3 | 5 … Continue reading “Raku: a language where a value can have several values at once (Part 1)”

Native GUI with Raku

With Raku being a general-purpose programming language (or, more precisely, a multi-paradigm language), you still think of it as more of a language to write programs that compute or do something with text or serve the web, but not interfaces. So I decided to answer a question if we can create full GUIs with Raku. … Continue reading “Native GUI with Raku”

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

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”