compscidr / compiler-language-benchmarks

Comparisons of c++ (gcc vs clang/llvm), rust, zig, go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compiler and language benchmarks

Recently started wondering about differences between g++ vs clang/llvm for cpp, and also about the differences between rust, zig, go vs cpp.

The goal of this repo is to do some benchmark comparisons between them. Probably it will just be a learning project on implementation differences.

Here are some questions I'd like to answer:

  • How long to install the necessary build tools?
  • What is the performance like of some repesentative programs?
    • In terms of?
      • running time
      • memory
      • binary size
      • compilation time
    • Hello World
    • Sorting
    • Others?

There's a way more complete and better version of this here: https://benchmarksgame-team.pages.debian.net/benchmarksgame/index.html

About

Comparisons of c++ (gcc vs clang/llvm), rust, zig, go


Languages

Language:Dockerfile 71.8%Language:Zig 7.9%Language:C++ 5.8%Language:CMake 5.4%Language:Go 3.9%Language:Shell 3.0%Language:Rust 2.3%