louie-github / Primes

Prime Number Projects in C#/C++/Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Primes | A Software Drag Race

Note: You're currently looking at the community contribution branch of this repo, which is now the default. The original branch can be found here.

Source code to Dave's Garage video benchmarking the same prime number sieve in Python, C#, and C++.

Software Drag Racing | Dave's Garage

Build status

example workflow

Community contributions

Community contributions, fixes and improvements are accepted on this branch. If you want to add your own solution, please read CONTRIBUTING.md.

Running all benchmarks

All benchmarks (solutions) in this repository can be built and run with one Makefile. This is described in BENCHMARK.md.

Viewing results

The PrimeView web application can be used to view, filter and sort results generated by Dave's benchmark machine. It is our intention to add results of other systems in the future. Note that any feedback, suggestions, PRs concerning PrimeView need to be made on the application's own repository.

About

Prime Number Projects in C#/C++/Python


Languages

Language:TeX 10.2%Language:C 9.5%Language:Rust 7.4%Language:C# 6.9%Language:Assembly 6.5%Language:Common Lisp 4.6%Language:C++ 4.5%Language:Zig 4.5%Language:Go 2.7%Language:D 2.7%Language:Python 2.5%Language:Chapel 2.4%Language:Dockerfile 2.2%Language:PowerShell 2.1%Language:TypeScript 2.0%Language:Java 1.8%Language:Shell 1.7%Language:JavaScript 1.5%Language:Fortran 1.4%Language:Pascal 1.3%Language:Dart 1.2%Language:Cython 1.1%Language:FreeBasic 1.1%Language:Swift 1.1%Language:Haskell 1.0%Language:Julia 1.0%Language:Brainfuck 1.0%Language:Visual Basic .NET 1.0%Language:Elixir 0.9%Language:Nim 0.9%Language:Tcl 0.8%Language:MATLAB 0.7%Language:Kotlin 0.6%Language:F# 0.6%Language:Prolog 0.6%Language:Clojure 0.6%Language:Scala 0.6%Language:Forth 0.5%Language:Batchfile 0.5%Language:Odin 0.4%Language:R 0.4%Language:COBOL 0.4%Language:Standard ML 0.3%Language:Smalltalk 0.3%Language:Perl 0.3%Language:Lua 0.3%Language:Makefile 0.3%Language:OCaml 0.3%Language:Pony 0.2%Language:Ada 0.2%Language:REXX 0.2%Language:Scheme 0.2%Language:PHP 0.2%Language:Ballerina 0.2%Language:Red 0.2%Language:Lean 0.2%Language:Haxe 0.2%Language:Hack 0.2%Language:Groovy 0.2%Language:GDScript 0.1%Language:Awk 0.1%Language:PostScript 0.1%Language:V 0.1%Language:Crystal 0.1%Language:Ruby 0.1%Language:Nix 0.0%Language:CMake 0.0%