Supported Languages#
Rustbox supports 8 languages. All are available in the Judge profile (live) and the Executor profile (waitlist).
Languages#
| Language | Aliases | Compiled | Runtime |
|---|---|---|---|
| Python | python, py | No | CPython |
| C | c | Yes | GCC |
| C++ | cpp, c++, cxx, cc | Yes | GCC |
| Java | java | Yes | OpenJDK |
| JavaScript | javascript, js | No | Bun |
| TypeScript | typescript, ts | No | Bun |
| Go | go | Yes | Go compiler |
| Rust | rust, rs | Yes | rustc |
Use any alias in the language field when submitting code.
Default limits by profile#
Judge mode#
Designed for competitive programming and coding assessments where submissions are short-lived and deterministic. Limits vary by language:
| Language | Memory | CPU Time | Wall Time | Max PIDs | Max Open Files |
|---|---|---|---|---|---|
| Python | 256 MB | 4s | 7s | 10 | 32 |
| C | 256 MB | 8s | 10s | 8 | 32 |
| C++ | 256 MB | 8s | 10s | 8 | 64 |
| Java | 512 MB | 8s | 10s | 1024 | 128 |
| JavaScript | 512 MB | 8s | 12s | 16 | 64 |
| TypeScript | 512 MB | 8s | 12s | 16 | 128 |
| Go | 256 MB | 8s | 10s | 1024 | 64 |
| Rust | 256 MB | 8s | 15s | 64 | 64 |
All languages: code size 64 KB, stdin size 256 KB, network disabled.
Executor mode#
Designed for AI agents, code playgrounds, and interactive tool execution where workloads are heavier and may need network access.
| Resource | Limit |
|---|---|
| Memory | 2 GB |
| Wall time | 60 seconds |
| CPU time | 60 seconds |
| Max PIDs | 256 |
| Code size | 64 KB |
| Stdin size | 256 KB |
| Network | Filtered |
Compilation#
For compiled languages (C, C++, Java, Go, Rust), compilation happens inside the sandbox with the same isolation guarantees as execution. Compilation time counts toward wall time limits.
Language detection#
The GET /api/languages endpoint returns the list of languages available on the platform:
curl -s "https://api.rustbox.orkait.com/api/languages" \
-H "X-API-Key: rb_live_your_key_here" | jq["python", "c", "cpp", "java", "javascript", "typescript", "go", "rust"]