Skip to content

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

Notifications You must be signed in to change notification settings

nmerriam/Primes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 11.1%
  • Assembly 8.0%
  • C# 7.8%
  • Common Lisp 5.7%
  • C++ 5.5%
  • Zig 5.5%
  • Other 56.4%