Skip to content

WinterWonderland/Multilingual_PrimeCounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multilingual Prime Counter

Abstract

The goal of this project is to get a little insight into different programming languages. Therefore a small challenge was defined to be implemented in different programming languages.

Challenge

The simple challenge is to count the existing prime numbers in a certain number range.
A console program takes the maximum number as an argument and prints how many prime numbers are existing up to this number.

Languages

  • Rust
  • Elixir
  • Python
  • C#
  • C++
  • C

Comparison

A powershell script compares the runtime of the programs.

Example output

This is an example output of the comparison script.
Executed on an AMD Ryzen 5 2600.

example output

About

Count prime numbers in multiple languages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors