PlummersSoftwareLLC/Primes: Prime number projects in 100+ programming languages, to compare their speed - and their programmer's cleverness
github.com·1d·
Discuss: Hacker News
🥖Bun
Preview
Report Post

Primes | A Software Drag Race

Source code to Dave’s Garage videos benchmarking the same prime number sieve in a selection of 100+ programming languages, as featured in this project repository.

The first video brought many visitors and contributors here initially, so we’re linking to it for convenience:

Background

This project was an unplanned spin-off from the video linked to above, in which Dave drag-races three programming languages (C#, C++ and Python) to compare their relative speeds, using the Sieve of Eratosthenes algorithm to identify prime number up to a certain limit.

He posted the source code of his implementations online (in the first incarnation of this repo, in fact), after which …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help