Why Scala and Akka
14 Oct 2016Scala is a general purpose programming language that uses the same runtime engine as Java.
It also incorporates functional programming concepts, which emphasizes transformation of data, as a flow, without side effects. It͛s much easier, to develop a complex system, when program functions act like mathematical functions. That is, we expect the same output always for a given set of inputs.
Through its
- Checking of data types at compile time
- Language features for scalability
- And general features from its Java heritage
…Scala is a solid option for building fast and reliable data processing systems.
- Type-safe integrations with messaging providers
For example,
- Type-safe small DSLs
For example, akka-http routes:
For example, building response cards:
- Actors using the FSM (finite state machine) DSL to implement conversational state
For example,
- Performance and scalability
- Libraries to support large-scale system design
For example, dependency injection using Google Guice
- Functional programming to simplify concurrent system design