Programming Tutorials

Excellent Free Tutorials to Learn Raku

Last Updated on September 29, 2023

Raku is a member of the Perl family of programming languages. Formerly known as Perl 6, it was renamed in October 2019. Raku introduces elements of many modern and historical languages. Compatibility with Perl was not a goal, though a compatibility mode is part of the specification.

Raku offers many features such as:

  • Object-oriented programming including generics, roles and multiple dispatch;
  • Functional programming primitives, lazy and eager list evaluation, junctions, autothreading and
  • hyperoperators (vector operators);
  • Parallelism, concurrency, and asynchrony including multi-core support;
  • Definable grammars for pattern matching and generalized string processing;
  • Optional and gradual typing.

Raku is multi-paradigmatic. It supports procedural, object oriented, and functional programming.

Read more about Perl in our compilation of the best free books for Perl, and the best free tutorials for Perl.


1. Learn Raku in Y minutes by vendethiel and contributors

Take a whirlwind tour of your next favorite language.

Read the tutorial


2. Raku Advent Calendar by various contributors

Raku is a multi-paradigm language where there’s more than one way to do it.

This is a collection of 25 articles that cover a wide range of areas to help you master Raku.

Read the tutorials


3. Raku Tutorials – official documentation

  • Modules – How to create, use, and distribute Raku modules.
  • Core modules – Core modules that may be useful to module authors.
  • Input/Output – File-related operations.
  • Concurrency – Concurrency and asynchronous programming.
  • Classes and objects – A tutorial about creating and using classes in Raku.
  • Iterating – Functionalities available for visiting all items in a complex data structure.
  • Regexes: best practices and gotchas – Some tips on regexes and grammars.
  • Module packages – Creating module packages for code reuse.
  • Module development utilities – What can help you write/test/improve your module(s).
  • Grammar tutorial – An introduction to grammars.
  • Command line interface – Creating your own CLI in Raku.
  • Doing math with Raku – Different mathematical paradigms and how they are implemented in this language.
  • Creating operators – A short tutorial on how to declare operators and create new ones.
  • CompUnits and where to find them – How and when Raku modules are compiled, where they are stored, and how to access them in compiled form.
  • Entering unicode characters – Input methods for unicode characters in terminals, the shell, and editors.
  • Inter-process communication – Programs running other programs and communicating with them.

Read the tutorials


4. Raku essentials

Raku essentials provides a basic introduction to Raku and its compiler.

Read the tutorial


All tutorials in this series:

Free Programming Tutorials
ABAPAdvanced Business Application Programming
AdaALGOL-like programming language, extended from Pascal and others
AgdaDependently typed functional language based on intuitionistic type theory
AliceEducational language with an integrated development environment
ArduinoInexpensive, flexible, open source microcontroller platform
AssemblyAs close to writing machine code without writing in pure hexadecimal
AwkVersatile language designed for pattern scanning and processing
Bash‘Bourne-Again-SHell’ is both a shell and programming language
BASICFamily of general-purpose, high-level programming languages
CGeneral-purpose, procedural, portable, high-level language
C++General-purpose, portable, free-form, multi-paradigm language
C#Combines the power and flexibility of C++ with the simplicity of Visual Basic
ChapelParallel-programming language in development at Cray Inc.
ClojureDialect of the Lisp programming language
ClojureScriptCompiler for Clojure that targets JavaScript
COBOLCommon Business-Oriented Language
CoffeeScriptA very succinct programming language that transcompiles into JavaScript
CoqDependently typed language similar to Agda, Idris, F*, Lean, and others
CrystalGeneral-purpose, concurrent, multi-paradigm, object-oriented language
CSSCSS (Cascading Style Sheets) specifies a web page’s appearance
DGeneral-purpose systems programming language with a C-like syntax
DartClient-optimized programming language for fast apps
DylanMulti-paradigm language, supports functional & object-oriented programming
ECMAScriptBest known as the language embedded in web browsers
EiffelObject-oriented language
ElixirRelatively new functional language that runs on the Erlang virtual machine
ElmFunctional language that compiles to JavaScript
Emacs LispA dialect of the Lisp programming language.
ErlangGeneral-purpose, concurrent, declarative, functional language
F#General purpose, strongly typed, multi-paradigm language. Part of ML
FactorDynamic stack-based language
ForthImperative stack-based programming language
FortranThe first high-level language, using the first compiler
GDScript Godot’s built-in language for scripting and interacting with nodes
GoCompiled, statically typed programming language
GroovyPowerful, optionally typed and dynamic language
HackFor the HipHop Virtual Machine (HHVM), created as a dialect of PHP
HamlHTML Abstraction Markup Language
HaskellStandardized, general-purpose, polymorphically, statically typed language
HTMLHyperText Markup Language
IconHigh-level, general-purpose language
ImbaFull-stack language that compiles to performant JavaScript
JArray programming language based primarily on APL
JavaGeneral-purpose, concurrent, class-based, object-oriented, high-level language
JavaScriptInterpreted, prototype-based, scripting language
JuliaHigh-level, high-performance language for technical computing
KotlinStatically typed, general-purpose programming language with type inference
LabVIEWDesigned to enable domain experts to build power systems quickly
LaTeXProfessional document preparation system and document markup language
LessBackwards-compatible language extension for Cascading Style Sheets
LimboDesigned for applications running distributed systems on small computers
LispUnique features - excellent to study programming constructs
LogoDialect of Lisp that features interactivity, modularity, extensibility
LuaDesigned as an embeddable scripting language
MarkdownPlain text formatting syntax designed to be easy-to-read and easy-to-write
MoonScriptDynamic scripting programmer friendly language that compiles into Lua
NimStatically typed compiled systems language with syntax resembling Python
Objective-CGeneral purpose language which is a superset of C
OCamlGeneral-purpose, powerful, high-level language
OctaveHigh-level language, primarily intended for numerical computations
OpenCLOpen Computing Language
PascalImperative and procedural language designed in the late 1960s
PerlHigh-level, general-purpose, interpreted, scripting, dynamic language
PikeInterpreted, general-purpose, high-level, cross-platform, dynamic language
PHPPHP has been at the helm of the web for many years
PonyPony is an actor-model, capabilities-secure, high-performance language
PostScriptPage description language in electronic and desktop publishing
PrologGeneral purpose, declarative, logic programming language
PureScriptSmall strongly, statically typed language with expressive types
PythonGeneral-purpose, structured, powerful language
QMLHierarchical declarative language for user interface layout with a syntax to JSON
RDe facto standard among statisticians and data analysts
RacketPlatform for programming language design and implementation
RakuMember of the Perl family of programming languages
RoffExtensible text formatting language and a set of programs for printing
RubyGeneral purpose, scripting, structured, flexible, fully object-oriented language
RustIdeal for systems, embedded, and other performance critical code
ScalaModern, object-functional, multi-paradigm, Java-based language
SchemeGeneral-purpose, functional, language descended from Lisp and Algol
ScratchVisual programming language designed for 8-16 year-old children
SolidityObject-oriented, high-level language for implementing smart contracts
SQLAccess and manipulate data held in a relational database management system
Standard MLOne of the two main dialects of the ML language
SwiftPowerful and intuitive general-purpose programming language
TclDynamic language based on concepts of Lisp, C, and Unix shells
TypeScriptStrict syntactical superset of JavaScript, adding optional static typing
VStatically typed compiled language to build maintainable software
ValaObject-oriented language with a self-hosting compiler that generates C code
VHDLVery High Speed Integrated Circuit Hardware Description Language
VimLPowerful scripting language of the Vim editor
XMLSet of rules for defining semantic tags that describe the structure and meaning
ZigGeneral-purpose programming language and toolchain
Subscribe
Notify of
guest

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

0 Comments
Inline Feedbacks
View all comments