article thumbnail

The Ultimate Guide to Java Virtual Threads

Rock the JVM

Riccardo is a proud alumnus of Rock the JVM, now a senior engineer working on critical systems written in Java, Scala and Kotlin. Version 19 of Java came at the end of 2022, bringing us a lot of exciting stuff. First, we need to use a version of Java that is at least 19. Another tour de force by Riccardo Cardin.

Java 145
article thumbnail

Why Picnic picked Java

Picnic Engineering

Java 8 was released just the year before, adding the beloved lambdas and streams functionality. So why did we end up picking Java as our backend development stack? Remember how Twitter had to re-platform from Ruby to Java to support its growth? Unlike Twitter, Picnic embraced Java from the get-go! Why Java, the language?

Java 59
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

How to install Apache Spark on Windows?

Knowledge Hut

It provides high-level APIs in Java, Scala, Python, and R and an optimized engine that supports general execution graphs. Step 8 : To install Apache Spark, Java should be installed on your computer. If you don’t have java installed on your system. Please follow the below process Java Installation Steps 1.

Java 98
article thumbnail

REST APIs Using Play Framework and Scala: A Comprehensive Guide

Rock the JVM

Play Framework “makes it easy to build web applications with Java & Scala”, as it is stated on their site, and it’s true. In this article we will try to develop a basic skeleton for a REST API using Play and Scala. PlayScala plugin defines default settings for Scala-based applications. import Keys._ findById ( id ).

Scala 52
article thumbnail

A Backtracking Sudoku Solver in Scala

Rock the JVM

This article is for Scala beginners. After you learn the language, the next big thing you need to master is how to write essential “algorithms” in Scala. This tends to make algorithms in Scala quite difficult. This article works identically for Scala 2 and Scala 3. All you need is recursion. map ( row => row.

Scala 40
article thumbnail

Migrating From Elasticsearch 7.17 to Elasticsearch 8.x: Pitfalls and Learnings

Zalando Engineering

The application is written in Scala and using a Java High Level REST Client, which got deprecated in Elasticsearch 7.15.0 and replaced by ElasticSearch Java API client , so first of all, we had to update the codebase to use the new client. Origami has 443k lines of code in 846 files. However: It’s in Java.

Scala 86
article thumbnail

Top 11 Programming Languages for Data Science

Knowledge Hut

At the same time, computer science has traditionally focused on algorithms, coding, and software[development processes, data science focuses on extracting meaning from data using systematic methods. Python is known for its simple syntax, easy readability, and code portability. It is among the top programming languages for data science.