Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

langsamu/PrimeMultiplication

Repository files navigation

Prime Multiplication

An application that generates multiplication tables of prime numbers.

The prime number generator is intentionally simple (increment, use unoptimised trial division for primality test).

But it's built using asynchronous streams, which means it works well on the web and on the command line with zero memory footprint and no buffering.

My focus is to demo an actual service, not to improve the sieve of Eratosthenes.

Codecov

Build Status

Online components

Source-code components

Notable commits

  1. Proof of concept
  2. Robust prime generator using asynchronous streams
  3. Multiplication table as first class citizen
  4. Azure DevOps build pipeline and Codecov integration
  5. Curiosity one-liner attempt using async LINQ
  6. Web API supporting JSON, XML and CSV
  7. Robust test-suite achieves 100% test coverage
  8. Continuous deployment to Azure App Service
  9. CLI telemetry

Bonus content

Sieve of Eratosthenes algorithm as an abstract syntax tree in an RDF graph.

Part of my ExpressionRDF side-project, which translates these graphs into LINQ Expressions that can be comiled and executed.