How to Speed Up Your Vector Operations Using the Java 19 Vector API

This API provides classes to express vector computations that, given suitable hardware and runtime ability, are accelerated using vector hardware instructions. When run on a supporting platform, operations can be executed in parallel by the hardware. This style of parallelism is called Single Instruction Multiple Data (SIMD) parallelism. By using the API for vector computations, […]

How to Speed Up Your Vector Operations Using the Java 19 Vector API Read More »

Making Use of Java 19’s Enhancements for Switch Statements and Expressions

Pattern Matching for switch was proposed as a preview feature by JEP 406 and delivered in JDK 17, and proposed for a second preview by JEP 420 and delivered in JDK 18. This JEP proposes a third preview with further refinements based upon continued experience and feedback. For those who are not familiar with this

Making Use of Java 19’s Enhancements for Switch Statements and Expressions Read More »

How Java 19’s Foreign Function and Memory API Simplifies Calling Native APIs

The Foreign Function and Memory API (FFM API) is designed to allow developers to access data and code outside of the Java Runtime. The API allows accessing native libraries and native data without having to use JNI. The main goals of this API are: Simplicity: To replace the Java Native Interface (JNI) with a more

How Java 19’s Foreign Function and Memory API Simplifies Calling Native APIs Read More »

Writing Less Boilerplate Code in Java 19 With Instanceof and Record Classes Thanks to Record Patterns

In JDK 16, the instanceof operator was extended to accept a type pattern and perform pattern matching. Thanks to this, the instanceof-and-cast idiom could be simplified. Instead of writing developers can write If the pattern matches, the pattern variable s is initialized to the value of o cast to String. s can then be used

Writing Less Boilerplate Code in Java 19 With Instanceof and Record Classes Thanks to Record Patterns Read More »

How Structured Concurrency in Java 19 Helps to Make Programming of Concurrent Applications Easier

The goal of this extension is to simplify the maintainability, reliability, and monitoring of concurrent code. For this purpose, new abstractions like “Unit of Work” have been introduced, which can manage multiple threads under one hat. This allows, for example, to implement error handling at the level of a “Unit of Work” instead of separately

How Structured Concurrency in Java 19 Helps to Make Programming of Concurrent Applications Easier Read More »

Book Review “Scrum – Agiles Projektmanagement erfolgreich einsetzen” By Roman Pichler

Introduction Scrum is a well-known agile software development methodology. As usual, I bought this book in my local book store before boarding the plane to the United States. I enjoy reading books while travelling. This was the perfect setting to read this book. Contents If you’re new to Scrum, this book is a good place

Book Review “Scrum – Agiles Projektmanagement erfolgreich einsetzen” By Roman Pichler Read More »

Book Review “The Art of Deception” By Kevin D. Mitnick

Introduction Nowadays, Social Engineering techniques are used more and more. Although, we are used to place expensive technical devices between attackers and the sensible corporate infrastructure, attackers manage to get the information they want (e.g. emails, passwords, financial data, …). The reason is obvious: The human being simply remains the weakest link of your security

Book Review “The Art of Deception” By Kevin D. Mitnick Read More »