stephentoub / 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.

About

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


Languages

Language:C 13.4%Language:Assembly 10.8%Language:C# 9.7%Language:Zig 7.5%Language:Python 6.0%Language:Common Lisp 4.3%Language:Rust 3.9%Language:D 2.6%Language:JavaScript 2.5%Language:Dockerfile 2.4%Language:Fortran 2.3%Language:Go 2.2%Language:Shell 2.2%Language:C++ 2.1%Language:Dart 2.1%Language:TypeScript 2.0%Language:PowerShell 1.9%Language:FreeBasic 1.9%Language:Julia 1.4%Language:Tcl 1.4%Language:MATLAB 1.2%Language:Pascal 1.2%Language:Haskell 1.1%Language:Prolog 1.0%Language:Forth 0.9%Language:Java 0.8%Language:TeX 0.7%Language:Odin 0.7%Language:R 0.7%Language:F# 0.7%Language:COBOL 0.6%Language:Elixir 0.6%Language:Smalltalk 0.5%Language:Perl 0.5%Language:Nim 0.5%Language:OCaml 0.4%Language:Swift 0.4%Language:Lua 0.4%Language:Scala 0.4%Language:Pony 0.4%Language:Ada 0.4%Language:REXX 0.4%Language:Scheme 0.3%Language:Ballerina 0.3%Language:PHP 0.3%Language:Red 0.3%Language:Haxe 0.3%Language:GDScript 0.2%Language:Awk 0.2%Language:V 0.2%Language:PostScript 0.2%Language:Crystal 0.2%Language:Visual Basic .NET 0.2%Language:Makefile 0.1%Language:Ruby 0.1%Language:Batchfile 0.0%