You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('') and can be up to 35 characters long.
Dan Ballard
83a6f8573f

3 years ago  

src  12 years ago  
ChangeLog  12 years ago  
Makefile  3 years ago  
README  7 years ago  
autoTest.pl  3 years ago  
languages  12 years ago  
primes.4.lua  12 years ago  
primes.5.lua  12 years ago  
primes.5c  12 years ago  
primes.adb  12 years ago  
primes.alt.c  12 years ago  
primes.alt2.c  12 years ago  
primes.alt3.c  12 years ago  
primes.awk  12 years ago  
primes.c  12 years ago  
primes.cbl  12 years ago  
primes.cpp  12 years ago  
primes.cs  12 years ago  
primes.e  12 years ago  
primes.erl  12 years ago  
primes.f  10 years ago  
primes.fasl  12 years ago  
primes.fe  12 years ago  
primes.fs  12 years ago  
primes.go  3 years ago  
primes.go.array  3 years ago  
primes.hs  10 years ago  
primes.html  12 years ago  
primes.java  12 years ago  
primes.lisp  12 years ago  
primes.m  10 years ago  
primes.m4  12 years ago  
primes.ml  12 years ago  
primes.pas  12 years ago  
primes.perl.pl  12 years ago  
primes.php  12 years ago  
primes.pike  12 years ago  
primes.prolog.pl  12 years ago  
primes.py  10 years ago  
primes.r  12 years ago  
primes.rb  12 years ago  
primes.rexx  12 years ago  
primes.rs  3 years ago  
primes.scala  10 years ago  
primes.scm  12 years ago  
primes.sh  12 years ago  
primes.sieve.c  12 years ago  
primes.sml  12 years ago  
primes.st  12 years ago  
primes.tcl  12 years ago  
primes.vb  12 years ago  
primes.x86.s  12 years ago  
primes_prolog.pl  12 years ago 
README
https://danballard.com/projects/primes/ dan@mindstab.net Mindstab.net Multi language prime number project: Prime number finders in ~40 languages and a test driver 2014: added go 2013: Cleanedup and small additions Cleaned up code to work with newer versions of compilers and interpreters and added a few new languages 2011: Rerelease This project is still a terrible blunt way to see how different languages/implementation perform and compare at basic arithmatic and looping and crudly look at speed. And it's a small roseta stone too. Autotest.pl drives it all and it's appaling speghetti code I wrote half a decade ago and I probably still knew better. I've made a few quick updates since 1.01 from 2006 to make it run on Ubuntu 10.04 which is what I'm running. Your milage may vary, but it's on github now, so feel free to offer suggestions in code. 20042006 With this project I want to implement prime number finders in as many languages as I can. It's pretty much a way for me to learn a littlebit about a lot of languages. This project also comes with a test program (autoTest.pl) which can run and benchmark all the languages so I can see their various performances (part of learning about the languages).