https://github.com/yellow-footed-honeyguide/benchmark-c-vs-all
Benchmark C, C++, Rust, Go. Raw numbers. No fluff 🏁
https://github.com/yellow-footed-honeyguide/benchmark-c-vs-all
benchmark c-programming cpp golang performance-comparison programming-languages rust-lang system-programming
Last synced: 4 months ago
JSON representation
Benchmark C, C++, Rust, Go. Raw numbers. No fluff 🏁
- Host: GitHub
- URL: https://github.com/yellow-footed-honeyguide/benchmark-c-vs-all
- Owner: yellow-footed-honeyguide
- License: mit
- Created: 2024-08-26T07:51:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-02T21:16:27.000Z (almost 2 years ago)
- Last Synced: 2025-03-13T09:44:24.911Z (over 1 year ago)
- Topics: benchmark, c-programming, cpp, golang, performance-comparison, programming-languages, rust-lang, system-programming
- Language: Python
- Homepage:
- Size: 197 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

## Source Code & Benchmark Scripts
| Language | Source File |
|----------|-------------|
| C | [`benchmark.c`](benchmark.c) |
| C++ | [`benchmark.cpp`](benchmark.cpp) |
| Rust | [`benchmark.rs`](benchmark.rs) |
| Go | [`benchmark.go`](benchmark.go) |
## Run benchmark
[run_benchmark.py](run_benchmark.py)
```
cd benchmark-c-vs-all
python3 run_benchmark.py
```
## Contributing
We aim to maintain a fair and accurate benchmark.
If you have suggestions for improvement, please consider submitting a pull request with any of the following:
- A new programming language implementation
- Updated source code for an existing language to ensure fairness
- Refined optimization options for a particular implementation
Your contributions are welcome and will help enhance the quality of this benchmark.
## License
Distributed under the MIT License. See LICENSE for more information.
## Contact
Name: Sergey Veneckiy
Email: s.venetsky@gmail.com