Настройки компиляторов
Intel(R) Xeon(R) Gold CPU 6338 @ 2.00GHz, 49152KB cache, виртуализация на 1 ядре, 4GB RAM, GNU/Linux
Компилятор | Строка компиляции | Строка запуска |
---|---|---|
C# (MS .NET 8.0) | dotnet csc.dll @/.dotnet/libraries source.cs -out:app.exe |
dotnet exec --runtimeconfig /.dotnet/runtimeconfig.json app.exe |
Clang 17.0.1 C++20 | clang++ -std=c++20 -O2 -lm -x c++ source.cpp -o executable |
./executable |
Dart 3.5.1 | dart compile exe source.dart -o executable |
./executable |
Delphi (FPC 3.2.2) | fpc -O2 -Sd source.dpr -o executable |
./executable |
Free Basic 1.04 | fbc -O 2 -x executable -lang qb source.bas |
./executable |
Free Pascal 3.2.2 | fpc -O2 source.pas -o executable |
./executable |
GNU bash 5.2.21 | dos2unix -n source.sh executable.sh |
bash executable.sh |
GNU GCC 14.1 C++20 | g++ -O2 -lm -fno-stack-limit -std=c++20 -x c++ source.cpp -o executable |
./executable |
GNU GCC 14.1 C17 | gcc -lm -O2 -fno-stack-limit -std=c17 -x c source.c -oexecutable |
./executable |
Golang 1.23.0 | go build -o executable -compiler gc source.go |
./executable |
Haskell 7.10.2 | ghc --make -O source.hs -o executable |
./executable |
Java 21.0.1 (Temurin JDK) | javac source.java; jar cvfe executable.jar ClassName *.class |
java -Dsource.encoding=UTF8 -Xmx2048M -Xss1024M -jar executable.jar |
Kotlin 1.9.21 / 2.0.10 (JRE 21) | kotlinc source.kt -include-runtime -d executable.jar |
java -Dsource.encoding=UTF8 -Xmx2048M -Xss1024M -jar executable.jar |
kumir 2.1.0-rc9 | kumir2-llvmc -e=utf8 -o=executable source.kum |
./executable |
Lua 5.4 | — |
lua source.lua |
Node.js 20.14.0 | — |
node source.js |
ocaml 4.02.3 | ocamlopt nums.cmxa str.cmxa -unsafe -o executable source.ml |
./executable |
PascalABC.NET 3.9.0 | mono pabcnetcclear.exe source.pas |
./executable |
Perl 5.14 | perl -c source.pl |
perl source.pl |
PHP 8.1 | php8.1 -l source.php |
php8.1 source.php |
Python 3.12.3 | python3 -c 'import py_compile; py_compile.compile("source.py", doraise=True)' |
python3 -S source.py |
Python 3.9 (PyPy 7.3.16) | pypy3 -c 'import py_compile; py_compile.compile("source.py", doraise=True)' |
pypy3 source.py |
R 3.6.3 | — |
Rscript source.py |
Rust 1.80.1 | rustc -O -o executable source.rs |
./executable |
Scala 2.13.4 | scalac source.scala -d executable.jar |
java -Dsource.encoding=UTF8 -Xmx2048M -Xss1024M -jar executable.jar |
Swift 5.10.1 | swiftc -O -o executable source.swift |
./executable |