#concurrency-safety

[ follow ]
Software development
fromMedium
1 day ago

Async Logging Is Not a Silver Bullet - What Actually Limits Performance

Async logging redistributes costs rather than reducing them, impacting performance in different ways depending on implementation.
fromrubyflow.com
3 days ago
Ruby on Rails

re2 2.27.0: concurrent matching without the GVL

A new Ruby RE2 version releases the Global VM Lock during matches, enhancing speed in multi-threaded environments.
#scala
Scala
fromMedium
3 days ago

Scala's Growth Model - Building Inward, Starving Outward

Scala's ecosystem excels internally but struggles to attract new users due to structural and cultural barriers.
Scala
fromMedium
1 week ago

100 Scala Interview Questions and Answers for Technical and Functional Roles

Preparing for a Scala interview requires understanding functional programming concepts and structured questions for effective evaluation.
Scala
fromScala-lang
1 week ago

Scala 3.8.3 is now available!

Scala 3.8.3 introduces local coverage exclusions and a safe mode for capability-safe code, enhancing code safety and coverage measurement.
Scala
fromScala-lang
3 weeks ago

Porting the Scala 2 optimizer to Scala 3

The Scala 3 compiler's optimizer improves performance by 10-30% for high-level functional code without complicating developer tasks.
Scala
fromMedium
2 months ago

I Thought Scala Was Vibe Coding

Scala emphasizes immutability, expression-oriented programming, powerful pattern matching, and Option-based null safety for more concise, safer, and more composable JVM code.
Software development
fromMedium
2 months ago

Why I'm Breaking Up with Scala in 2026 and Falling for Golang's Simplicity

Scala's powerful functional features produce robust code but add complexity and costs that often outweigh benefits for fast-paced, large-scale modern backend development.
Scala
fromMedium
3 days ago

Scala's Growth Model - Building Inward, Starving Outward

Scala's ecosystem excels internally but struggles to attract new users due to structural and cultural barriers.
Scala
fromMedium
1 week ago

100 Scala Interview Questions and Answers for Technical and Functional Roles

Preparing for a Scala interview requires understanding functional programming concepts and structured questions for effective evaluation.
Scala
fromScala-lang
1 week ago

Scala 3.8.3 is now available!

Scala 3.8.3 introduces local coverage exclusions and a safe mode for capability-safe code, enhancing code safety and coverage measurement.
Scala
fromScala-lang
3 weeks ago

Porting the Scala 2 optimizer to Scala 3

The Scala 3 compiler's optimizer improves performance by 10-30% for high-level functional code without complicating developer tasks.
fromMedium
2 months ago
Software development

Why I'm Breaking Up with Scala in 2026 and Falling for Golang's Simplicity

Roam Research
fromInfoQ
6 days ago

Bloom Filters: Theory, Engineering Tradeoffs, and Implementation in Go

Bloom filters efficiently reduce unnecessary lookups in storage systems by filtering out definite negatives, improving latency and resource allocation.
JavaScript
fromInfoWorld
6 days ago

Rust team warns of WebAssembly change

Undefined symbols in WebAssembly can lead to unexpected behavior and errors, necessitating better diagnostics for developers.
Software development
fromInfoQ
6 days ago

When Every Bit Counts: How Valkey Rebuilt Its Hashtable for Modern Hardware

Redis clones offer opportunities for optimization and learning, but often lack full implementation and reliability essential for caching.
Information security
fromSecurityWeek
1 week ago

Google Slashes Quantum Resource Requirements for Breaking Cryptocurrency Encryption

Google's Quantum AI warns that cryptocurrencies are more vulnerable to quantum attacks than previously believed, shortening the timeline for potential threats.
fromYcombinator
2 weeks ago

Show HN: QuickBEAM - run JavaScript as supervised Erlang/OTP processes | Hacker News

QuickBEAM runs JavaScript inside OTP supervision trees, allowing each runtime to function as a process with a `Beam` global that can call Elixir code and send/receive messages.
#nodejs
Software development
fromInfoQ
1 week ago

Dynamic Languages Faster and Cheaper in 13-Language Claude Code Benchmark

Dynamic languages like Ruby, Python, and JavaScript are faster and cheaper for AI coding tasks compared to statically typed languages.
Python
fromPython GUIs
2 weeks ago

Using QThr

PySide6 allows direct use of Python callables with QThreadPool.start() for simple background tasks, eliminating the need for QRunnable subclasses.
#java
Java
fromMedium
3 weeks ago

Java vs Kotlin vs Scala: Which to Choose in 2026

Java, Kotlin, and Scala serve different audiences and problems despite running on the JVM.
fromInfoQ
2 months ago
Java

Java Explores Carrier Classes to Extend Data-Oriented Programming Beyond Records

Java
fromDevOps.com
2 months ago

Survey Surfaces Massive Amount of Java Technical Debt

Dead and unused code and frequent Java CVEs reduce developer productivity; Java remains widely used with growing AI use and many migrating from Oracle Java.
Software development
fromMedium
2 months ago

Kotlin vs Scala vs Java: Which Language Wins? (2026)

Choosing between Java, Kotlin, and Scala directly impacts project outcomes because they differ in stability, market share, developer satisfaction, cost, and specialization.
Java
fromMedium
3 weeks ago

Java vs Kotlin vs Scala: Which to Choose in 2026

Java, Kotlin, and Scala serve different audiences and problems despite running on the JVM.
fromInfoQ
2 months ago
Java

Java Explores Carrier Classes to Extend Data-Oriented Programming Beyond Records

JavaScript
fromMedium
2 weeks ago

Metaprogramming: teaching the compiler to explain your data.

Contextual information enhances debugging by providing field names, types, and nested structures.
fromInfoWorld
3 weeks ago

We mistook event handling for architecture

Events are essential inputs to modern front-end systems. But when we mistake reactions for architecture, complexity quietly multiplies. Over time, many front-end architectures have come to resemble chains of reactions rather than models of structure. The result is systems that are expressive, but increasingly difficult to reason about.
React
Node JS
fromhowtocenterdiv.com
3 weeks ago

Bun vs Node.js Performance: Why Your Event Loop Is the Real Bottleneck

Bun outperforms Node.js in specific benchmarks, but real-world performance issues often stem from database and CPU bottlenecks, not runtime choice.
Java
fromMedium
3 weeks ago

Spark Internals: Understanding Tungsten (Part 2)

Catalyst Optimizer and Tungsten work together in Apache Spark to optimize data execution and manage raw binary data.
Scala
fromMedium
2 weeks ago

Breaking Scala's Nil with Java Reflection

Java reflection in Spring Data MongoDB caused a bug in Scala's Nil singleton, revealing a mismatch between Scala's guarantees and JVM behavior.
Java
fromInfoWorld
3 weeks ago

Java future calls for boosts with records, primitives, classes

Java is advancing record creation, primitive boxing, and pattern matching through multiple JEPs to improve code conciseness and type handling capabilities.
Artificial intelligence
fromZDNET
1 month ago

AI is getting scary good at finding hidden software bugs - even in decades-old code

AI models can effectively identify decades-old bugs in legacy code, but this capability also enables hackers to exploit vulnerabilities in deployed systems.
fromRealpython
4 weeks ago

Speed Up Python With Concurrency Quiz - Real Python

You'll explore how I/O-bound programs face latency, which concurrency patterns to use, the differences between threading, asyncio, and multiprocessing, and how the Global Interpreter Lock (GIL) affects Python programs.
Python
Software development
fromInfoQ
3 weeks ago

Beyond Memory Safety: What Makes Rust Different - Lessons from Autonomous Robotics

Rust prevents entire categories of developer mistakes through its type system, ownership rules, and pattern matching, making correct code easier to write than incorrect code.
Java
fromInfoWorld
3 weeks ago

9 reasons Java is still great

Java maintains prominence through balancing stability with innovation, community-driven governance via the Java Community Process, and continuous evolution incorporating functional programming, concurrency, and cloud computing advances.
Software development
fromInfoQ
3 weeks ago

QCon London 2026: Use For

Reframing lifetimes as sets of loans rather than code scopes provides clearer reasoning about Rust's borrow checker and lifetime puzzles.
Scala
fromMedium
3 weeks ago

What I Learned Building Secure Observability in Scala

Build secure Scala applications by keeping core logic in plain IO and using a temporary Mission Stack only for sensitive operations, integrating security with observability from the start rather than adding it later.
Python
fromRealpython
1 month ago

Threading in Python Quiz - Real Python

An interactive 10-question quiz assesses understanding of Python threading concepts including thread creation, ThreadPoolExecutor, locks for race condition prevention, and queue-based producer-consumer patterns.
fromInfoWorld
1 month ago

JetBrains unveils AI tracing library for Kotlin and Java

Tracy is compatible with Kotlin from version 2.0.0 and Java from version 17. Integrations can be made with SDKs from OpenAI, Anthropic, and Gemini. The library also works with common Kotlin/LLM stacks including OkHttp and Ktor clients, as well as OpenAI, Anthropic, and Gemini ones.
Java
fromMedium
1 month ago

Scala Profiling Under Fire

While the codebase is fresh and grows fast under the umbrella of the local environment, we tend to rely on debugging tools, which were created specifically for that purpose. The app is half-baked, and the code is split open. We observe it through the lens of our IDE and with the speed of our brain. Everything is possible; we may pause execution for minutes, and the whole system is a white box - an open book for us.
Software development
Scala
fromMedium
1 month ago

100 Scala Scenario-Based Interview Questions and Answers

Scala technical interviews prioritize practical problem-solving and design reasoning over syntax memorization, with scenario-based questions evaluating real-world technical capabilities.
fromInfoQ
1 month ago

Read-Copy-Update (RCU): The Secret to Lock-Free Performance

With pthread's rwlock (reader-writer lock) implementation, I got 23.4 million reads in five seconds. With read-copy-update (RCU), I had 49.2 million reads, a one hundred ten percent improvement with zero changes to the workload.
Software development
#scala-interview-preparation
#javascript
#cargo-configuration-management
fromRealpython
1 month ago

Hands-On Python 3 Concurrency With the asyncio Module Quiz - Real Python

This quiz sharpens your intuition for Python's asyncio module. You'll decide when async is the right tool, see how the event loop schedules work, and understand how coroutines pause and resume around I/O.
Python
Software development
fromInfoWorld
1 month ago

Rust developers have three big worries - survey

Rust developers remain satisfied with language evolution pace, but worry about insufficient industry adoption, increasing complexity, and inadequate developer support.
JavaScript
fromLogRocket Blog
2 months ago

A guide to async/await in TypeScript - LogRocket Blog

TypeScript supports asynchronous programming through promises, async/await, and modern patterns like for await...of, AbortController, and Promise.all for concurrency and cancellation.
#rust
Software development
fromMedium
2 months ago

I Can't Believe Rust Is Replacing Java

The X recommendation system was fully rewritten and open-sourced using only Rust and Python, replacing previous Java and Scala implementations.
Software development
fromMedium
2 months ago

Pure Functions: Your First Step Toward Bug-Free Concurrency

Pure functions and immutability stabilize systems by preserving facts and ensuring deterministic business logic amid mutable, entangled state and external side effects.
fromMedium
2 months ago

Agentic Workflows in Scala (Without the Buzzwords)

High-level view of the travel search workflow, highlighting parallel searches, explicit decision points, and iterative refinement. In Scala, we define this workflow using Workflows4s, encoding both state and transitions explicitly in the type system. Instead of opaque state blobs or untyped contexts, the state of the process is represented using algebraic data types - types like Started, Found, Sent, and Booked - each corresponding to a distinct point in the workflow's lifecycle.
Scala
#scala-3
fromMedium
2 months ago

Algorithms Are Just Real Life, Formalized

Which Algorithm Is This? If you step back, this maps almost perfectly to the Top K Frequent Elements problem.We usually solve it for integers in a list. Here, the "elements" are audience profiles age and body-type combinations. First, define what an audience profile looks like: case class Profile(age: Int, height: Int, weight: Int) What we want is a function like this:
Scala
Software development
fromMedium
3 months ago

Immutability by Default: The Foundation of Reliable Systems

Immutability preserves historical facts in distributed systems, preventing truth drift and ensuring predictable downstream behavior despite changing rules and deployments.
Software development
fromInfoWorld
1 month ago

Go 1.26 unleashes performance-boosting Green Tea GC

Go 1.26 introduces self-referential generic parameters, expression operands for new, go fix modernizers, reduced cgo overhead, and multiple runtime and performance improvements.
Software development
fromMedium
2 months ago

Agentic Workflows in Scala (Without the Buzzwords)

Durable, decision-driven systems require explicit state, clear decision points, and explicit workflow orchestration rather than opaque autonomous agent loops.
fromMedium
2 months ago

Monadris: Why Functional Design Makes Tetris Safer and Easier (Scala 3 + ZIO)

A real Tetris loop has time (ticks), concurrent inputs (keystrokes), state transitions (collision, locking, line clears), and non-determinism (piece generation). In many imperative designs, these concerns end up tangled in shared mutable state, which tends to produce bugs that are: hard to reproduce (timing-dependent), hard to test (logic mixed with effects), hard to debug (replay isn't deterministic).
Software development
fromInfoWorld
2 months ago

Rust 1.93 updates bundled musl library to boost networking

The Rust team has unveiled Rust 1.93, the latest version of the programming language designed to create fast and safe system-level software. This release improves operations involving the DNS resolver for the musl implementation of the C standard library. Linux binaries are expected to be more reliable for networking as a result. Rust 1.93 was introduced January 22. Developers with previous versions of Rust installed via rustup can upgrade by running rust update stable.
Software development
Software development
fromInfoWorld
2 months ago

8 reasons developers love Go-and 8 reasons they don't

Go is a simple, C-like programming language created at Google to simplify building concurrent, networked, large-scale software with safety, performance, and easy learning.
fromArmin Ronacher's Thoughts and Writings
2 months ago

Porting MiniJinja to Go With an Agent

In total I probably spent around 45 minutes actively with it. It worked for around 3 hours while I was watching, then another 7 hours alone. This post is a recollection of what happened and what I learned from it. All prompting was done by voice using pi, starting with Opus 4.5 and switching to GPT-5.2 Codex for the long tail of test fixing.
Software development
[ Load more ]