🧬 Methods in Other Languages
While most examples use Python or Bash, the CCP platform supports methods in any language that can run in a container.
This includes compiled or runtime-based languages like:
Java
R
C/C++
Rust
Julia
etc
📦 Requirements
Your code must:
Run inside a supported Docker image (
ccpimage
)Accept input parameters via shell arguments or environment variables
Write outputs to
/ccp_data
Be either compiled or interpreted at runtime
💡 Language-Specific Tips
Java
Use
openjdk
Docker imagesPackage your method as an executable JAR
Use
java -jar mymethod.jar --input {{file}}
R
Use
r-base
image or images with tidyverse pre-installedProvide an
install.R
script for dependenciesRun with
Rscript myscript.R --input {{file}}
Rust / C / C++
Use multistage builds or compile in deploy phase
Execute via CLI using standard parameters