Scala

Showing 1-8 of 8 results
EngineeringIcon ChevronBack-end

Option/Maybe, Either, and Future Monads in JavaScript, Python, Ruby, Swift, and Scala

by Alexey Karasev

If you're searching for the holy grail of bug-free code in JavaScript, Python, Ruby, Swift, and/or Scala, look no further! This monad tutorial by Toptal Freelance Functional Programmer Alexey Karasev takes you from category theory to the practical implementations of the Option/Maybe, Either, and Future monads, plus a sample program—in all five languages.

24 minute readContinue Reading
EngineeringIcon ChevronBack-end

Scaling Scala: How to Dockerize Using Kubernetes

by Michele Sciabarra

Are you a Scala developer hoping to scale your application in the cloud? If so, meet Kubernetes, a cluster manager for Docker applications. Developed by Google, it's the latest in new open source tools making major waves. In this article, Toptal Freelance Software Engineer Michele Sciabarra guides us through a step-by-step tutorial on how to take a generic Scala application and implement Kubernetes and Docker to launch multiple instances of the application.

11 minute readContinue Reading
EngineeringIcon ChevronTechnology

Get Your Hands Dirty With Scala JVM Bytecode

by Sergey Reznick

The Scala language has continued to gain popularity over the last several years, thanks to its excellent combination of functional and object-oriented software development principles, and its implementation on top of the proven Java Virtual Machine (JVM). Creating a language that compiles to Java bytecode requires a deep understanding of the inner workings of the Java Virtual Machine. To appreciate what Scala's developers have accomplished, it is necessary to go under the hood, and explore how Scala's source code is interpreted by the compiler to produce efficient and effective JVM bytecode.

21 minute readContinue Reading
EngineeringIcon ChevronBack-end

Developing for the Cloud in the Cloud: BigData Development with Docker in AWS

by Michele Sciabarra

More and more people are moving their work from desktop applications to the cloud using an equivalent online web application. However, this has unfortunately not been true for software development IDEs. Although there have been some attempts to provide an online IDE, they have not come anywhere close to traditional IDEs. In this article, Toptal Freelance Software Engineer Michele Sciabarra guides us on how to build a cloud-based development environment for Scala and big data applications, with the help of Docker in Amazon AWS.

14 minute readContinue Reading
EngineeringIcon ChevronBack-end

Context Validation in Domain-Driven Design

by Josip Medic

Handling all validation in domain objects results in objects that are huge and complex to work with. In domain-driven design, using decoupled validator components allows your code to be much more reusable and enables validation rules to rapidly grow. In this article, Toptal engineer Josip Medic shows us how validation can be decoupled from domain objects, made context-specific, and structured well to achieve more sustainable validation code.

10 minute readContinue Reading
EngineeringIcon ChevronTechnology

Scala vs. Java: Why Should I Learn Scala?

by Matt Hicks

The popularity and usage of Scala is rapidly on the rise, as evidenced by the ever-increasing number of open positions for Scala developers. In this article, Toptal engineer Matt Hicks introduces you to the power and capabilities of the Scala language.

7 minute readContinue Reading
EngineeringIcon ChevronTechnology

Concurrency and Fault Tolerance Made Easy: An Akka Tutorial with Examples

by Diego Castorina

Writing concurrent programs is hard. Having to deal with threads, locks, race conditions, and so on is highly error-prone and can lead to code that is difficult to read, test, and maintain. This post provides an introductory guide to the Scala-based Akka framework, showing (with code samples) how Akka facilitates and simplifies the implementation of robust, concurrent, fault-tolerant applications.

13 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

Scaling Play! to Thousands of Concurrent Requests

by Paulo "JCranky" Siqueira

Web Developers often fail to consider the consequences of thousands of users accessing our applications at the same time. Perhaps it's because we love to rapidly prototype; perhaps it's because testing such scenarios is simply hard. Regardless, I'm going to argue that ignoring scalability is not as bad as it sounds—if you use the proper set of tools and follow good development practices. In this case: the Play! framework and the Scala language.

5 minute readContinue Reading

Join the Toptal® community.