This project is a Concurrent Calculator implemented in Elixir. It allows users to perform basic arithmetic operations on numbers, such as addition, subtraction, multiplication, and division. What sets this calculator apart from others is its ability to handle multiple calculations concurrently, making it faster and more efficient.
- Addition: Add two or more numbers together
- Subtraction: Subtract one number from another
- Multiplication: Multiply two or more numbers together
- Division: Divide one number by another
- Concurrent calculations: Perform multiple calculations at the same time
The Concurrent Calculator is built using Elixir's built-in concurrency features, such as processes and message passing. When a user submits a calculation, a new process is spawned to handle that calculation. Multiple processes can run concurrently, allowing the calculator to handle multiple calculations at once.
If available in Hex, the package can be installed
by adding concurrent_calculator
to your list of dependencies in mix.exs
:
def deps do
[
{:concurrent_calculator, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/concurrent_calculator.