Day 3 – 6.e so near

Lizzybel was in a pensive mood at North Pole Central: “Who would have thought in 2018 that the next Raku language level would take more than 8 years to arrive?”.

It had been a year with many changes. Never before did it look like language level 6.e of the Raku Programming Language would actually happen in the coming months. It really felt like being between eras.

Thinking to herself, she made a list of the past year’s achievements:

Fixes to precompilation

For a long time synthetically built RakuAST code could not be used in a module that was being pre-compiled. This was a particularly nasty issue that needed some thorough research before it was fixed.

As soon as this was fixed, it was possible to “release” the re-imagined functionality of .assuming and sprintf, now based on building synthetic RakuAST trees. Rather than depending on string evaluation (in the case of .assuming) or parsing the format string with a grammar on every call (in the case of sprintf).

RakuAST capable of building Rakudo itself

The next step was having RakuAST be able to build the Rakudo core setting (in other words, the part of the Raku Programming language that is not purely written in NQP).

Before this, RakuAST could only run on a fully functional Rakudo built with the legacy backend. Being able to build the Rakudo core setting in RakUAST also meant being able to compile Raku code even if there’s no fully functional Rakudo yet. Bootstrapping is hard!

Make RakuAST the default build method

After making sure that all spectests would pass with RakuAST, and thoroughly checking the Raku ecosystem for problems occurring during testing and installation of a module with RakuAST, was the decision made to make RakuAST the default way of building Rakudo and running Raku programs with Rakudo.

Before this, Rakudo users that wanted to stay up-to-date with the latest Rakudo version, would be using the “legacy backend” by default and would need to opt-in to building Rakudo and/or running Raku programs with RakuAST.

The 2026.09 Rakudo release switched the default: so now one had to opt-out of using the new RakuAST based Rakudo. This produced some new bug reports from the ecosystem users, of which most were fixed in the 2026.11 Rakudo release.

Remove the legacy backend

The next step was of course removing the legacy backend.

“Such a simple click, so much work by giants removed”, Lizzybel thought to herself when she merged the “Remove the legacy backend” Pull Request the other day. With the work of more than 200 people from the earliest raked commit in 2006, until now. Without which RakuAST wouldn’t have been possible.

But also 30668 fewer lines in the Rakudo codebase to maintain and to compile every time one builds Rakudo! That’s a good thing for anybody involved in the development of Rakudo. This will be in the 2026.12 release of Rakudo.

Is all of that code really gone now? No, not really, it now just lives in an alternate reality called the “legacy-backend” branch.

Is it there yet?

In the middle of all of these contemplations, Nanunanu (one of the IT elves) entered the room enthusiastically as always and asked with a smile resembling a grin “Is 6.e there yet?”.

Lizzybel sighed at so much enthusiasm and said “No Nanunanu, but it’s not very far anymore”, thinking about Papa Smurf while withholding a grin herself.

Todo’s

“So what needs to be done still then?” asked Nanunanu. “Glad you asked”, said Lizzybel, “if we’re going for January 2027 for a 6.e language release, we would need to do the following as soon as possible:”

Providing a clear and documented RakuAST interface

The RakuAST bootstrap currently contains more than 500 RakuAST:: classes and roles, many of which could be considered implementation detail. It needs to be figured out which classes / roles are to be considered “public” (at least in the initial 6.e language level release), and which ones are internal.

And then the interface to these classes needs to be documented.

Migrating Rakudo tests to roast

Now that RakuAST is the only backend available in Rakudo, it has become de-facto part of the definition of the Raku Programming Language. Which means that all appropriate tests currently living in Rakudo now (about 472 files) need to be moved to roast, the test-suite for the bleeding edge for Raku development.

Just moving the files would be a simple solution, but many of these new test-files were created with the use of LLM’s and probably need some more thorough investigations before being added to the Raku specification test-suite.

Preparing for a marketing blitz

We want more people to start using Raku. With a major milestone reached, it is time to really let the people know that Raku is here and now and at a new level.

Wow

“Wow”, said Nanunanu, “a lot has been done in the past year, but a lot needs to be done still”. Lizzybel agreed. “And I probably forgot a bunch of other things that would still need doing. But that’s more general day-to-day stuff”.

“It’s nice that Santa allows me to work on this basically full-time, but help from the other IT elves, and maybe some marketing elves would be very welcome” she said, and continued with “I realize Santa’s has given them a lot of tasks already, but it still would be so nice if some of them would find some time to help out with this”.

“I’ll see if I can find some help”, said Nanunanu on the way out of the room, leaving Lizzybel with her thoughts.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.