Rakudo compiler release 2022.06 for the Raku programming language (former Perl 6)

The Rakudo 2022.06 release, a compiler for the Raku programming language (formerly Perl 6), has been released. The project was renamed from Perl 6 because it did not become a continuation of Perl 5, as originally expected, but turned into a separate programming language that is not compatible with Perl 5 at the source code level and is developed by a separate developer community. The compiler supports the Raku language variants described in specs 6.c and 6.d (by default). At the same time, the release of the MoarVM 2022.06 virtual machine is available, which forms the environment for running the bytecode compiled in Rakudo. Rakudo also supports compilation for the JVM and some JavaScript virtual machines.

Of the improvements in Rakudo 2022.06, the categorization of generated exceptions is noted - now you can use a different exception class for each error. Added a more compact bytecode-size way to return the "Failure" state - (Exception|Cool).Failure (instead of 'fail "foo"' and 'Failure.new("foo")', it is proposed to specify '"foo".Failure'). The named argument ":real" has been added to the DateTime.posix method. Significantly faster use of the .tail() method with arrays. The new version of MoarVM has improved the work of the garbage collector.

Source: opennet.ru

Add a comment