Go to file
Dan Ballard ee08928150 remove lua4 support to make lua5 work (easier fix) 2013-01-30 22:08:14 -08:00
src initial import of 1.02 2011-03-07 23:01:27 -08:00
ChangeLog initial import of 1.02 2011-03-07 23:01:27 -08:00
Makefile initial import of 1.02 2011-03-07 23:01:27 -08:00
README url fix for readme 2011-03-07 23:10:17 -08:00
autoTest.pl remove lua4 support to make lua5 work (easier fix) 2013-01-30 22:08:14 -08:00
languages initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.4.lua initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.5.lua initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.5c initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.R initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.adb initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.alt.c initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.alt2.c initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.alt3.c initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.awk initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.c initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.cbl initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.cpp initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.cs initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.e initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.erl initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.f initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.fasl initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.fe initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.fs initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.hs initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.html initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.java initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.lisp initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.m fixed for newer gcc objective c syntax/compile blah 2013-01-30 22:05:22 -08:00
primes.m4 initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.ml initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.pas initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.perl.pl initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.php initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.pike initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.prolog.pl initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.py fir type error (float != int) for apparently more strict python 2013-01-30 20:47:41 -08:00
primes.r initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.rb initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.rexx initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.scm initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.sh initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.sieve.c initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.sml initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.st initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.tcl initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.vb initial import of 1.02 2011-03-07 23:01:27 -08:00
primes.x86.s initial import of 1.02 2011-03-07 23:01:27 -08:00
primes_prolog.pl initial import of 1.02 2011-03-07 23:01:27 -08:00
primesoc initial import of 1.02 2011-03-07 23:01:27 -08:00

README

http://www.mindstab.net/tag/primes/
haplo@mindstab.net

Mindstab.net Multi language prime number project:
  Prime number finders in ~38 languages
  and a test driver

2011: Re-release
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.

2004-2006
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).