Supported Languages#

Rustbox supports 8 languages. All are available in the Judge profile (live) and the Executor profile (waitlist).

Languages#

LanguageAliasesCompiledRuntime
Pythonpython, pyNoCPython
CcYesGCC
C++cpp, c++, cxx, ccYesGCC
JavajavaYesOpenJDK
JavaScriptjavascript, jsNoBun
TypeScripttypescript, tsNoBun
GogoYesGo compiler
Rustrust, rsYesrustc

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:

LanguageMemoryCPU TimeWall TimeMax PIDsMax Open Files
Python256 MB4s7s1032
C256 MB8s10s832
C++256 MB8s10s864
Java512 MB8s10s1024128
JavaScript512 MB8s12s1664
TypeScript512 MB8s12s16128
Go256 MB8s10s102464
Rust256 MB8s15s6464

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.

ResourceLimit
Memory2 GB
Wall time60 seconds
CPU time60 seconds
Max PIDs256
Code size64 KB
Stdin size256 KB
NetworkFiltered

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"]