Verified Versions
The execution environment behind every example on this site
Why versions are documented
Program output can change across versions: different runtimes may produce different results for the same code, and older versions may not support newer syntax at all. Every example on this site was actually executed on a real toolchain when it was written, and the preset output was verified against that run — the table below is the environment those examples were verified on.
A few notes: the JavaScript and TypeScript examples are both executed directly by Node (TypeScript runs via type stripping, with no separate compile step); the C# examples are compiled and run with the .NET SDK; C and C++ use the local system compiler (Apple clang on macOS, corresponding to "system default" in the README version matrix). The per-entry notes are written to stay version-agnostic wherever possible, but knowing the verified environment helps you compare output differences on your own machine.
Version list
| Language | Verified version |
|---|---|
| C | C23(C23 标准(校验器显式 -std=c23);本地 Apple clang 21.0.0,CI ubuntu-latest GCC 13) |
| C++ | C++26(C++26 标准(校验器显式 -std=c++26);本地 Apple clang 21.0.0,CI ubuntu-latest GCC 13) |
| C# | 11.0.100(.NET SDK) |
| Go | 1.27.4 |
| Java | 27.0.1 |
| JavaScript | 26.13.1(Node.js) |
| PHP | 8.6.0 |
| Python | 3.15.2 |
| Rust | 1.99.1 |
| TypeScript | 26.13.1(Node.js 类型剥离) |
All examples were actually executed and output-verified on the toolchain versions below