▶ Open the playground

raku.online is a Raku playground that runs entirely in the browser. The interpreter is Raku++, our C++ implementation of Raku, compiled to WebAssembly as Raku.js. No code is ever sent to a server: your program executes in a Web Worker on your own machine, and the site itself is just five static files.

A Raku program loaded in the raku.online playground — source code on the left, its output on the right
A program loaded in the playground — code on the left, its output on the right, running entirely in your browser.

What you can do

Embed runnable Raku on your own site

The same engine ships as a drop-in widget, raku.js. Add one script tag, and any code block you mark becomes a live, editable, runnable editor:

<script src="https://raku.online/raku.js"></script>

<pre data-raku>say "Hello from an embedded editor!";</pre>
An embedded runnable Raku code block showing arithmetic operators and their outputAn embedded runnable Raku code block showing the ternary operator and its outputAn embedded runnable Raku code block showing the list-repetition operator and its output

The same widget in the wild — runnable code blocks embedded throughout spec.raku.online.

Open source

The site is a handful of static files served by nginx, and it is open source: github.com/ash/raku.online. Because it is self-contained, you can host the whole playground on any static server, or embed pieces of it anywhere you write about Raku.

Learning Raku?

raku.online is the fastest way to try the language, and it powers the instant playground of the Raku Course — our free online course of Raku, where every example can be edited and executed right on the page.

More in Software development

Raku++ — a Raku compiler

Our from-scratch, open-source implementation of the Raku programming language in C++ — native executables, an optimizer, a WebAssembly build for the browser, and no dependencies.

Backend Development

Robust backend systems to handle complex business logic, data processing, and integration

Frontend Development

Intuitive and responsive user interfaces that provide a seamless user experience

Mobile Development

Mobile-first solutions tailored for iOS and Android devices

Data Storage and Management

Handling your data efficiently and securely

DevOps and System Administration

Streamline the development and deployment processes

Data Transformation and Process Flow

Design and manage data workflows for seamless integration and data-driven decision-making

Hardware Integration

Custom hardware integration solutions for IoT and embedded applications

Methodologies

Established development methodologies to ensure project success