What is S written in?
The S runtime is written in C and Fortran.
S is a statistical programming language, first released in 1976.
Implementation
| Layer | Written in | Notes |
|---|---|---|
| Runtime | C (since 1976) | S statistical language runtime written in C and Fortran at Bell Labs |
| Runtime | Fortran (since 1976) | S statistical language uses Fortran for numerical computation |
Runtime model
The S runtime, written in C and Fortran, manages the execution of S programs. Runtime-based languages rely on a host process to interpret or compile code at runtime rather than compiling entirely ahead-of-time to native machine code. This means running S programs requires the runtime to be present on the target system.
The choice of C and Fortran for the runtime gives S access to native performance, established platform abstractions, and existing ecosystem libraries.
Explore in the Graph
See S's full lineage, including all implementation and influence relationships, in the interactive graph.
Open Interactive Graph →Or view the S language page for the complete record.