Category:Perl 6

From Rosetta Code
Perl 6
This programming language may be used to instruct a computer to perform a task.
Official website
Garbage collected: Yes
Parameter passing methods: By reference, By value
Type safety: Safe, Unsafe
Type strength: Gradual
Type compatibility: Nominative, Duck
Type checking: Dynamic, Static
Lang tag(s): perl6
See Also:

Listed below are all of the tasks on Rosetta Code which have been solved using Perl 6.
Your Help Needed
If you know Perl 6, please write code for some of the tasks not implemented in Perl 6.

Perl 6 is the up-and-coming little sister to Perl 5. Though it resembles previous versions of Perl to no small degree, Perl 6 is substantially a new language; by design, it isn't backwards-compatible with Perl 5. The first official release was at Christmas of 2015.

Damian Conway described the basic philosophy of Perl 6 as follows:

The Perl 6 design process is about keeping what works in Perl 5, fixing what doesn't, and adding what's missing. That means there will be a few fundamental changes to the language, a large number of extensions to existing features, and a handful of completely new ideas. These modifications, enhancements, and innovations will work together to make the future Perl even more insanely great -- without, we hope, making it even more greatly insane.

Major new features include multiple dispatch, declarative classes, grammars, formal parameters to subroutines, type constraints on variables, lazy evaluation, junctions, meta-operators, and the ability to change Perl's syntax at will.

The definition of Perl 6 is specified entirely by a test suite, so we could in theory have multiple implementations. The current version of the language is 6.c (short for, as defined by the test suite known as "roast" (Repository Of All Spec Tests). Compiler releases have date-based versions, and these are typically used in Rosetta Code entries for the "works with" fields. The only compiler implementing the full test suite, rakudo, currently runs on either MoarVM or JVM. Subsequent language revisions are planned (with provisional names of "Diwali", "Eid", and other such celebrations), but these will only come out once a year or so. In 2016 we are primarily working on performance and documentation of the stable 6.c version.


This category has the following 4 subcategories, out of 4 total.

Pages in category "Perl 6"

The following 841 pages are in this category, out of 841 total.