Compiler settings
Intel(R) Xeon(R) CPU E5-2660 @ 2.20GHz, 20480KB cache, virtualizаtion on 1 core, 4GB RAM, used OS Linux
Programming language | Compilation | Run |
---|---|---|
GNU bash 4.2.24 | bash file | executable_file |
Free Basic 1.04 | fbc -O 2 -x executable_file -lang qb file | executable_file |
PascalABC.NET 3.8.3 | mono pabcnetcclear file | mono executable_file |
Delphi 2.4.4 | fpc file -Sd -o executable_file | executable_file |
Free Pascal 2.4.4 | fpc file -o executable_file | executable_file |
GNU c 4.9 | gcc -O2 -fno-stack-limit -x c -std=c99 file -lm -o executable_file | executable_file |
GNU c x32 4.9 | gcc -O2 -fno-stack-limit -x c -std=c99 -m32 file -lm -o executable_file | executable_file |
GNU c11 4.9 | gcc -O2 -fno-stack-limit -x c -std=c11 file -lm -o executable_file | executable_file |
GNU c11 7.3 | gcc -lm -O2 -fno-stack-limit -std=c11 -x c file -o executable_file | executable_file |
GNU c++ 14 4.9 | g++-4.9 -lm -O2 -fno-stack-limit -std=c++14 -x c++ file -o executable_file | executable_file |
GNU c++ 4.9 | g++ -O2 -fno-stack-limit -x c++ file -o executable_file | executable_file |
GNU c++ x32 4.9 | g++ -O2 -fno-stack-limit -x c++ -m32 file -o executable_file | executable_file |
GNU c++ 11 4.9 | g++-4.9 -lm -O2 -fno-stack-limit -std=c++11 -x c++ file -o executable_file | executable_file |
GNU c++ 11 x32 4.9 | g++ -O2 -fno-stack-limit -x c++ -std=c++11 -m32 file -o executable_file | executable_file |
GNU c++17 7.3 | g++ -lm -O2 -fno-stack-limit -std=c++1z -x c++ file -o executable_file | executable_file |
Clang c11 3.8 | clang -save-temps=obj -O2 -x c -std=c11 file -lm -o executable_file | executable_file |
Clang cxx11 3.8 | clang++ -save-temps=obj -O2 -x c++ -std=c++11 file -lm -o executable_file | executable_file |
Сlang objc gc 3.8 | clang-3.8 -O2 -x objective-c gnustep-config --objc-libs gnustep-config --objc-flags -save-temps=obj -fobjc-gc -fobjc-runtime=gnustep -lobjc -ldispatch -lgnustep-base -DOS_OBJECT_USE_OBJC=0 -lm file -o executable_file |
executable_file |
Swift 5.1 | swiftc -O -module-cache-path . -o executable_file file | executable_file |
Mono C# 5.2.0 | dmcs -r:System.Numerics -sdk:4 -optimize -o file | mono executable_file |
GDC 4.9 | gdc -O3 -Wall -march=native -frelease -fno-debug file | executable_file |
Oracle Java 7 | javac file; jar cvfe jar_file classname *.class | java -Dfile.encoding=UTF8 -d64 -Xmx1024M -Xss1024M -jar jar_file |
Oracle Java x32 7 | javac file; jar cvfe jar_file classname *.class | java -Dfile.encoding=UTF8 -d32 -client -Xmx1024M -Xss256M -jar jar_file |
Oracle Java 8 | javac file; jar cvfe jar_file classname *.class | java -Dfile.encoding=UTF8 -d64 -Xmx1024M -Xss1024M -jar jar_file |
Haskell 7.10.2 | ghc –make -O -tmpdir file | executable_file |
Perl 5.14 | perl -c file | perl executable_file |
PHP 5.3.10 | php -l file | php executable_file |
Python 2.7 | py_compile.compile(file, doraise=True) | python2.7 file |
Python 3.4 | py_compile.compile(file, doraise=True) | python3.4 file |
Python 3.7.3 | py_compile.compile(file, doraise=True) | python3.7 file |
Python 3.7.3 ML | python3.7 file | |
pypy 4 | py_compile.compile(file, doraise=True) | pypy4 file |
Ruby 1.9.3 | ruby -c file | ruby executable_file |
Scala 2.9.1 | scalac classname.scala | java -Xmx512M -Xss64M classname |
GC go | go build -o executable_file -compiler gc file | executable_file |
GCC go | go build -compiler gccgo -gccgoflags ‘-O2 -fno-stack-limit’ file | executable_file |
Node JS 0.10.28 | node file | |
R | Rscript file | |
Ocaml 4.02.3 | exec ocamlopt nums.cmxa str.cmxa -unsafe -o executable_file file | executable_file |
Ruby 2.2.3 | ruby -c file | ruby -c executable_file |
Rust 1.2 | exec rustc -O -o executable_file file | executable_file |
Kotlin 1.1.50 | kotlinc file -include-runtime -d jar_file | java -Dfile.encoding=UTF8 -d64 -Xmx1024M -Xss1024M -jar jar_file |
Kotlin 1.4.0 | kotlinc file -include-runtime -d jar_file | java -Dfile.encoding=UTF8 -d64 -Xmx1024M -Xss1024M -jar jar_file |
C# (MS .Net Core 3.1) | dotnet publish file_directory –configuration Release | dotnet executable_file |
C# (MS .Net 5.0)+ASP | dotnet publish file_directory –configuration Release | dotnet executable_file |