#concurrent-programming

[ follow ]
SoftwareMill
3 weeks ago
Scala

Safe direct-style Scala: Ox 0.1.0 released | SoftwareMill

Ox project 0.1.0 release offers safe direct-style concurrency and resiliency for Scala on the JVM. [ more ]
Medium
2 months ago
Scala

Unit Testing Infinite While Loops in Scala: A Practical Approach

Testing scenarios with infinite loops in Scala can be challenging due to asynchronous and concurrent programming.
Encapsulating infinite loops within Scala Futures can facilitate testing by managing the asynchronous nature of computations. [ more ]
InfoQ
3 months ago
Scala

Spring Boot 3.2 and Spring Framework 6.1 Add Java 21, Virtual Threads, and CRaC

Spring Framework 6.1 and Spring Boot 3.2 support Java 21
Debut of virtual threads simplifies concurrent programming [ more ]
Medium
4 months ago
Scala

Structured Concurrency on the JVM

Structured concurrency is a programming paradigm that aims to provide a more organized and predictable way to manage concurrent execution in software programs.
Java 19 has incorporated an API for structured concurrency, while Kotlin has long provided this feature through its Coroutines and suspending functions. [ more ]
Medium
5 months ago
Scala

Scala's Execution Contexts: A Deep Dive

By increasing the thread pool size, we can improve performance through parallelism.
The single-threaded nature of the execution context results in synchronous behavior despite using asynchronous constructs like Future. [ more ]
CodeProject
3 months ago
Web development

Implementation of Producer-Consumer problem in C++ and Python

Implementing producer and consumer problem in C++ and Python
Asking for guidance on implementing in C# and Java [ more ]
InfoQ
5 months ago
Software development

Helidon 4 Adopts Virtual Threads: Explore the Increased Performance and Improved DevEx

Helidon 4 introduces support for Java 21's virtual threads from Project Loom, aiming to improve performance and simplify concurrent programming.
The release of Helidon 4 represents a shift in coding paradigms, transitioning from the complex reactive model to a more straightforward imperative model that uses 'blocking' calls.
Helidon 4 achieves improved performance while maintaining simplicity in its design and use. [ more ]
[ Load more ]