Tag: Scala
-
Scala Toolkit makes Scala powerful straight out of the box
Posted on November 13, 2022, Level intermediate Resource Length medium
Scala Toolkit is an ongoing effort by Scala Center and VirtusLab to compose a set of approachable libraries to solve everyday problems. These libraries will be made easily accessible as a precomposed package. This package will be available for each Scala release. By Szymon Rodziewicz.
Tags scala akka data-science java app-development
-
How to prevent Scala 3 compiler regressions with Community Build
Posted on September 6, 2022, Level intermediate Resource Length long
We always assume the language compiler's or interpreter's impeccability when writing code in any programming language. Just as any other program, it might contain inconsistencies with its specification or subtle bugs. By Wojciech Mazur.
Tags scala programming akka java web-development
-
A guide to JVM parameters for Java developers
Posted on April 29, 2022, Level intermediate Resource Length medium
By understanding and using JVM and JVM parameters, both developers and end users can diagnose failures and improve the performance of a Java application. By Jayashree Huttanagoudar @redhat.
Tags java web-development programming scala jvm devops
-
Revolutionizing Java with GraalVM Native Image
Posted on April 23, 2022, Level intermediate Resource Length long
GraalVM has caused a revolution in Java development since it launched three years ago. One of the most discussed features of GraalVM is Native Image, which is based on an ahead-of-time (AOT) compilation. By Alina Yurenko and Karsten Silz.
Tags java programming kotlin jvm scala performance
-
Discarding magic feathers -- Going frameworkless in Scala
Posted on February 25, 2022, Level intermediate Resource Length medium
A good few years back, I looked into building a Scala webapp using Java's little-known provided HTTP server rather than one of the many frameworks already out there during my 10% time at Springer Nature. I made a mistake here - to avoid those frameworks I built my own framework to route requests within a webapp. I called it Sommelier, and it is now hidden away in a private github repo as really, we don't need another of those. Maybe we don't need any of them at all. By Jim Kinsey.
Tags scala akka programming app-development web-development
-
How to build a powerful e-learning platform using Scala and Redis
Posted on December 9, 2021, Level beginner Resource Length medium
Never before has online learning been so accessible. Whether you want to discover more about cryptocurrency, sharpen your programming skills or even just learn a new language, the digital age has gifted everyone access to a phenomenal amount of content. However, over time e-learning has been viewed as just another digital commodity, where users expect all online content to be instantaneous. Speed remains crucial to performance, where any lags or delays in page loading time kills the user's experience. By Redis Growth Team.
Tags cloud miscellaneous scala java machine-learning big-data nosql
-
Intro to Scala 3 macros
Posted on September 7, 2021, Level advanced Resource Length medium
What is macro? A common explanation given is that a macro is a program that is able to take code as an input and output code. While it's true, it might not immediately make sense since Scala programmers are often familiar with higher-order functions like (map {...}) and by-name parameter, which on the surface it might seem like it is passing a block of code around. By @eed3si9n.
Tags scala java jvm programming
-
Introduction to Akka Streams
Posted on August 22, 2021, Level beginner Resource Length medium
Akka Streams is a library to process and transfer a sequence of elements. It is built on top of Akka Actors to make the ingestion and processing of streams easy. As it is build on top of Akka Actors, it provide a higher-level abstraction over Akka's existing actor model. By Asbin Bhadra.
Tags akka queues programming scala java jvm
-
First look at Akka Serverless
Posted on August 21, 2021, Level intermediate Resource Length long
Akka Serverless exposes part of the open-source battle-tested Akka framework as an as-a-service offering. If you ever wondered what a fully managed version of Akka Cluster+Sharding+Persistence would look like, here's the answer! If you don't know what Akka is at all, don't worry — we'll cover all the necessary details. By Adam Warski.
Tags akka queues app-development scala containers jvm
-
From first principles: Why Scala?
Posted on February 5, 2021, Level beginner Resource Length medium
Scala, first appearing in 2004, is neither an old stalwart nor a new player in the programming language market. This post will discuss the unique combination of features that Scala provides and how it compares to other languages on the market, diving beneath the superficial experience to explore the fundamentals of the language. By Haoyi.
Tags scala app-development code-refactoring programming functional-programming
-
Stateful serverless on Google Cloud with Cloudstate and Akka Serverless
Posted on November 14, 2020, Level intermediate Resource Length medium
In recent years, stateless middle-tiers have been touted as a simple way to achieve horizontal scalability. But the rise of microservices has pushed the limits of the stateless architectural pattern, causing developers to look for alternatives. By James Ward, Developer Advocate at Google Cloud and Viktor Klang, Head of Cloud Engineering and Deputy CTO at Lightbend.
Tags akka streaming scala serverless gcp
-
What is Ask Pattern in Akka?
Posted on November 13, 2020, Level intermediate Resource Length short
In Akka, ask is a pattern and involves Actors as well as Futures. Ask is used to sends a message asynchronously and it returns a Future which represents a possible reply. If the actor does not reply and complete the future, it will expire after the timeout period. After the timeout period, it throws a TimeoutException. By Purva Agrawal.
Tags akka streaming scala programming