CLCodeLab Edu
Moodle Programming Plugins

CodeLab vs CodeRunner vs VPL

All three plugins are open-source and widely respected in Moodle. Here is a factual side-by-side overview so teachers and administrators can pick the right fit — or migrate smoothly.

Capability CodeLab (Tiny + Filter + Qtype) CodeRunner VPL (Virtual Programming Lab)
Code editor Monaco (VS Code) with IntelliSense, multi-file tabs, hover tooltips, zoom, Light/Dark/HC themes Ace editor (standard) Ace editor inside VPL activity
Where it works in Moodle Quizzes and interactive runnable examples inside any Page, Book, Lesson, Forum or Assignment Quizzes (Question type) Dedicated VPL Assignment activity
Visual Step debugger Built-in line-by-line Step, breakpoints, Watch, Call stack, Call tree and Step-back timeline for Python, C, C++, C# and Java Not built-in Terminal GDB / debugger in VPL IDE
Memory & pointer view Live stack frames, pointer arrows down linked lists to NULL, 2D matrix heat maps and heap leak warnings Not built-in Not built-in
SQL Tables / Schema viewer Hidden MariaDB setup + instant Tables button showing columns, PK/FK badges and sample rows Via custom SQL prototype Manual setup
Zero-server browser modes Python (Pyodide + Turtle) and sandboxed HTML/CSS/JS live preview run directly in the browser Requires Jobe server Requires VPL jail server
Interactive terminal input Live stdin while running (C, C++, Java, C#, Python) Batch stdin before run Interactive terminal in VPL
Safe mode (ASan / UBSan) One-click toolbar toggle for C/C++ with exact line highlighting and 40 plain-language GCC/Clang error guides Custom compiler flags per prototype Custom execution script
Quiz grading features Hidden tests, weights, tolerance, regex, unordered SQL, built-in C/C++/Python unit tests, static code constraints, Parsons problems, side-by-side diff in review Very flexible Twig templates & custom graders Flexible custom shell/script grading
Execution backend Jobe, self-hosted CodeLab runner (Docker), or managed CodeLab Cloud (30-day free trial) Self-hosted Jobe server Self-hosted VPL jail server
Migration from CodeRunner Built-in Moodle importer (More → Import CodeRunner XML) + browser converter Native Manual
License & Moodle GPL v3 · Moodle 4.5 LTS to 5.3 · 29 UI languages GPL v3 GPL v3

When CodeLab shines

Introductory and intermediate programming courses (high school & university) where students benefit from VS Code familiarity, visual debugging, memory/pointer diagrams, live examples inside lessons, and zero-ops CodeLab Cloud hosting.

When CodeRunner shines

Courses with highly customized Twig question prototypes or specialized grading scripts already built around CodeRunner. Standard questions migrate directly to CodeLab via XML.

When VPL shines

Multi-file assignment submissions with custom shell grading scripts and GUI/X11 desktop execution inside a standalone activity rather than Moodle Quizzes.