For the complete documentation index, see llms.txt. This page is also available as Markdown.

Multi-Runtime

BoxLang deploys to many runtimes on the JVM and on MatchBox, the Rust runtime

BoxLang has a lightweight, fast, and modular core. The operating system binary is a whopping 8MB, and we build on it according to the runtime of choice. There are two runtime families, and one language across both.

☕ JVM Runtimes

The official BoxLang runtime on the Java Virtual Machine. Full language, full standard library, 100% Java interop and the broadest module coverage.

🔥 MatchBox Runtimes

An independent Rust implementation of BoxLang. A bytecode VM with a tiered JIT that ships to native binaries, the browser, WASI, AWS Lambda and ESP32.

Available Runtimes

Cloud and serverless

Runtime
Description
Status

Run BoxLang with AWS Lambda

Available

Run BoxLang with Microsoft Azure Functions

Available

Run BoxLang with Google Cloud Functions

Available

DigitalOcean App Platform applications

Available

BoxLang CLI, MiniServer and CommandBox images

Available

Web and servers

Runtime
Description
Status

A pure Java web server built with BoxLang

Available

A BoxLang engine for CommandBox

Available

Servlet WAR

A servlet capable war

Available

A Spring Boot starter and auto configurator

Available

Local, desktop and embedded

Runtime
Description
Status

Bare metal runtime for any OS Java runs in

Available

BoxLang native desktop applications

Available

Java scripting interfaces

Available

WebAssembly

Run BoxLang as WebAssembly compiled code

Available

Android

Run BoxLang on Android devices

In Planning

iOS

Run BoxLang on iOS devices

In Planning

Target
Description
Status

A single-file binary with the runner and your bytecode. No JVM needed

Available

A compiled JavaScript and WebAssembly module, including Cloudflare Workers

Available

WebAssembly workloads in WASI hosts such as Wasmtime or WasmEdge

Experimental

AWS Lambda

MatchBox on AWS Lambda for very small cold starts

Preview

Cross-compiled runner for supported Xtensa and RISC-V boards

Available

The native CLI includes a four-tier Cranelift JIT. WebAssembly and ESP32 builds use the interpreter.

Learn more on the MatchBox page, try the online playground, or take the online course.

Which Runtime Should I Pick?

If you need...
Use

Java libraries, JDBC drivers or the broadest module coverage

☕ JVM

A web application on a servlet container or CommandBox

☕ JVM

CFML compatibility

☕ JVM

A single binary to hand to users, with no installer

🔥 MatchBox native

BoxLang logic running in the browser

🔥 MatchBox browser

Tiny serverless cold starts

🔥 MatchBox or ☕ JVM with a Lambda runtime

A microcontroller

🔥 MatchBox ESP32

Runtime Hierarchy

The core impetus of BoxLang is to grow through a hierarchical approach, targeting specific runtimes with specific behaviors. For example, the concepts of FORM, URL scope, web functions, and components are only available to runtimes that support web.

Just because a runtime isn't listed here doesn't mean BoxLang can't run on it. These are the officially supported runtimes. You can use the core runtime anywhere the JVM runs, and embed it in Android, Azure, OpenWhisk and more. Once we have official runtimes, we will post them here.

Third-Party Runtimes

We love our community. If you have created custom runtimes for BoxLang, please let us know, and we will add them here.

Last updated

Was this helpful?