Skip to content

Speed of C vs Python vs Haskell for primality fuction.

Notifications You must be signed in to change notification settings

nchlsb/isPrimeBenchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

We sought to benchmark three langues--C, Python, and Haskell--to exmaine the trade off between declartive code and speed. 

Aproxite results in seconds of primailty test with 10000000002065383:
-       Python : 30
- Haskell (O-3): 3
-       C (O-3): 1.5

Try it for yourself. 

About

Speed of C vs Python vs Haskell for primality fuction.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published