#multi-threading

[ follow ]
Software development
fromInfoQ
18 hours 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.
Scala
fromInfoQ
5 days ago

Beyond RAG: Architecting Context-Aware AI Systems with Spring Boot

Context-Augmented Generation (CAG) enhances Retrieval-Augmented Generation (RAG) by managing runtime context for enterprise applications without requiring model retraining.
JavaScript
fromPythonSpeed
6 days ago

Timesliced reservoir sampling: a new(?) algorithm for profilers

Random sampling from an unknown-length event stream can effectively identify relevant information without storing all data.
#python
Web frameworks
fromInfoWorld
6 days ago

PEP 816: How Python is getting serious about Wasm

Python will now formally support WebAssembly standards through PEP 816, enhancing its usability in browser applications.
#ai
fromSlicker
1 week ago

Basic Physics Engine in about 100 lines of pure JavaScript

The Vec class implements 2D vectors, providing essential operations like addition, subtraction, scaling, and normalization, which are fundamental for all geometric calculations in the simulation.
Vue
Software development
fromInfoQ
1 day 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
1 week ago

Using QThr

PySide6 allows direct use of Python callables with QThreadPool.start() for simple background tasks, eliminating the need for QRunnable subclasses.
Agile
fromInfoQ
2 weeks ago

AI Coding Assistants Haven't Sped up Delivery Because Coding Was Never the Bottleneck

AI coding tools increase individual developer output, but project-level gains are modest due to bottlenecks in specification and verification requiring human judgment.
fromYcombinator
1 week 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.
DevOps
fromInfoWorld
2 weeks ago

An architecture for engineering AI context

AI systems must intelligently manage context to ensure accuracy and reliability in real applications.
#java
Java
fromMedium
2 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

Carrier classes and carrier interfaces generalize record benefits to support flexible, record-like data abstractions without imposing rigid representation rules.
fromMedium
2 months ago
Software development

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
2 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

fromRubyflow
2 weeks ago

The tool I wish I had 25 apps ago

Every iOS app I've shipped over the last nine years started the same way: a Rails developer with a great web app, users who want it in the App Store, and weeks spent on Xcode, signing certificates, and Swift boilerplate that has nothing to do with the actual product.
Node JS
fromhowtocenterdiv.com
2 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.
#linux
fromMedium
4 months ago
DevOps

What is swap memory in linux? What It Really Is, Why It Exists, and How to Actually Use It

fromMedium
4 months ago
DevOps

What is swap memory in linux? What It Really Is, Why It Exists, and How to Actually Use It

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.
Java
fromInfoWorld
2 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.
Java
fromInfoWorld
2 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.
fromRealpython
3 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
Artificial intelligence
fromZDNET
4 weeks 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.
fromDanielwestheide
1 week ago
Software development

Pair Programming Considered Unnecessary: The Costs of Productive Solitude

JetBrains is discontinuing Code With Me due to declining demand for remote collaborative coding post-pandemic.
fromInfoWorld
3 weeks ago

Microsoft's .NET 11 Preview 2 offers cleaner stack traces

New overloads on TarFile.CreateFromDirectory accept a TarEntryFormat parameter, giving direct control over the archive format. Previously, CreateFromDirectory produced Pax archives. The new overloads support all four tar formats—Pax, Ustar, GNU, and V7—for compatibility with specific tools and environments.
Web frameworks
Python
fromRealpython
3 weeks 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.
fromMedium
4 weeks 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
Software development
fromInfoWorld
4 weeks ago

Coding for agents

AI agents reward explicit, consistent, well-documented code over clever or personally-preferred approaches, fundamentally changing software engineering standards toward machine-legibility.
Artificial intelligence
fromZDNET
1 month ago

7 AI coding techniques that quietly make you elite

Agentic AI tools make a single developer far more productive, enabling rapid cross-platform product creation by encoding design systems, user profiles, and permanent bug lessons.
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
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
Web development
fromTheregister
1 month ago

Anthropic's AIbuilt C compiler is not all that impressive

Anthropic's AI-built C compiler is largely a demo, replicating existing knowledge and failing practical basics; it does not signal a revolution in software engineering.
fromMedium
1 month 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
fromTheregister
2 months ago

Intel greets memory apocalypse with Xeon workstation CPUs

The Xeon 600 lineup spans the gamut between 12 and 86 performance cores (no cut-down efficiency cores here), with support for between four and eight channels of DDR5 and 80 to 128 lanes of PCIe 5.0 connectivity. Compared to its aging W-3500-series chips, Intel is claiming a 9 percent uplift in single threaded workloads and up to 61 percent higher performance in multithreaded jobs, thanks in no small part to an additional 22 processor cores this generation.
Tech industry
UX design
fromMedium
2 months ago

How to Use NotebookLM to Guide Coding via MCP

Skip Figma: convert product specifications directly into production-quality UI code by connecting NotebookLM to Cursor via MCP.
Software development
frominfiniteundo.com
1 month ago

Falsehoods programmers believe about time

Common programming bugs stem from widespread misconceptions about how computers and calendars handle time, including daylight savings, leap years, and clock synchronization issues.
#javascript
Node JS
fromInfoWorld
1 month ago

WinterTC: Write once, run anywhere (for real this time)

Unified JavaScript runtime standard WinterTC creates a consistent guaranteed API surface across browsers, servers, and edge runtimes to reduce fragmentation.
fromInfoWorld
1 month ago

What I learned using Claude Sonnet to migrate Python to Rust

If there's one universal experience with AI-powered code development tools, it's how they feel like magic until they don't. One moment, you're watching an AI agent slurp up your codebase and deliver a remarkably sharp analysis of its architecture and design choices. And the next, it's spamming the console with "CoreCoreCoreCore" until the scroll-back buffer fills up and you've run out of tokens.
Software development
Artificial intelligence
fromInfoQ
2 months ago

Working with Code Assistants: The Skeleton Architecture

Combining Vertical Slice architecture with Dependency Inversion and a Skeleton of base classes constrains AI code assistants' context, producing safer, consistent, and maintainable generated code.
fromInfoQ
1 month ago

JDK 26 and JDK 27: What We Know So Far

JDK 26, the first non-LTS release since JDK 25, has reached its second release candidate as declared by Mark Reinhold, Chief Architect, Java Platform Group at Oracle. The main-line source repository, forked to the JDK stabilization repository in early-December 2025 (Rampdown Phase One), defines the feature set for JDK 26. Critical bugs, such as regressions or serious functionality issues, may be addressed, but must be approved via the Fix-Request process. As per the release schedule, JDK 26 will be formally released on March 17, 2026.
Java
fromRealpython
2 months ago

Episode #280: Considering Fast and Slow in Python Programming - The Real Python Podcast

Christopher shares an article titled "The Uselessness of 'Fast' and 'Slow' in Programming." It digs into how the different aspects of software performance span a wide range of orders of magnitude, and how developers can obsess over irrelevant performance details, often losing more time working in suboptimal environments than building what they need with tools they already know. We also discuss an article about why uv is fast, which explains how most of its speed comes from engineering decisions rather than just being written in Rust.
Web frameworks
Java
fromInfoQ
2 months ago

Java Concurrency from the Trenches: Lessons Learned in the Wild

Practical Java concurrency lessons from a Netflix production project reveal common pitfalls, necessary learning, and pragmatic approaches for application developers.
Python
fromPythonSpeed
1 month ago

Speeding up NumPy with parallelism

Combine CPU-core parallelism and algorithmic optimization (e.g., Numba) to substantially speed up NumPy computations and reduce memory usage.
#generative-ai
fromZDNET
2 months ago
Artificial intelligence

Gen AI boosts productivity, but only for certain developers - here's why

fromMedium
3 months ago
Artificial intelligence

Engineering After AI: Why Writing Code Is No Longer the Hard Part

fromZDNET
2 months ago
Artificial intelligence

Gen AI boosts productivity, but only for certain developers - here's why

fromMedium
3 months ago
Artificial intelligence

Engineering After AI: Why Writing Code Is No Longer the Hard Part

fromTechzine Global
2 months ago

Neuromorphic computers prove suitable for supercomputing

Scientists are showing that neuromorphic computers, designed to mimic the human brain, are not only useful for AI, but also for complex computational problems that normally run on supercomputers. This is reported by The Register. Neuromorphic computing differs fundamentally from the classic von Neumann architecture. Instead of a strict separation between memory and processing, these functions are closely intertwined. This limits data transport, a major source of energy consumption in modern computers. The human brain illustrates how efficient such an approach can be.
Artificial intelligence
Python
fromInfoWorld
2 months ago

CPython vs. PyPy: Which Python runtime has the better JIT?

PyPy remains far faster for raw numerical workloads, but CPython's new native JIT and no-GIL builds close the gap in other workloads and enable threading.
Artificial intelligence
fromInfoWorld
1 month ago

First look: Run LLMs locally with LM Studio

LM Studio provides integrated model discovery, in-app download and management, memory-aware filtering, and configurable inference settings for CPU threads and GPU layer offload.
Python
fromPythonmorsels
2 months ago

All iteration is the same in Python

All Python iteration forms use the same iterator protocol; iterating over an object yields its defined iteration items (e.g., dictionary yields keys, string yields characters).
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
1 month 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
fromInfoWorld
2 months ago

When writing code is no longer the bottleneck

Writing application code is the primary bottleneck in software development; removing it via agentic coding shortens development timelines to days or weeks.
Software development
fromInfoQ
1 month ago

Are You Missing a Data Frame? The Power of Data Frames in Java

DataFrames and data-oriented programming promote modeling immutable data separately from behavior, making Java suitable for DataFrame-style data manipulation comparable to Python.
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.
fromTheregister
2 months ago

VS Code for Linux may be secretly hoarding trashed files

The reason for this is Snap - a Linux application packaging format - creates a local Trash folder for each VS Code version, one that's separate from the system-managed Trash, according to a VS Code bug report dating back to November 11, 2024. Not only that, but Snap keeps older versions of VS Code after updates, potentially multiplying the number of local Trash folders and the trashed-but-not-deleted files therein. Emptying the system Trash folder doesn't affect the local instances.
Software development
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
fromMedium
1 month ago

I Can't Believe Rust Is Replacing Java

XAI just open sourced the X recommendation algorithm, and honestly, it felt like they massacred my boy. I scrolled down expecting to see language stats like the 2023 repo. You know the usual breakdown: Java, Scala, maybe some Python sprinkled in. Instead, there were only two languages listed. Rust and Python. That's it. Which immediately tells you this wasn't a refactor. This was a full rewrite.
Software development
#ai-generated-code
fromInfoWorld
2 months ago

Six reasons to use coding agents

One thing I always do when I prompt a coding agent is to tell it to ask me any questions that it might have about what I've asked it to do. (I need to add this to my default system prompt...) And, holy mackerel, if it doesn't ask good questions. It almost always asks me things that I should have thought of myself.
Software development
Software development
fromInfoWorld
2 months ago

Go developers mixed on AI coding tools - survey

Most Go developers use AI-powered development tools, but satisfaction with those tools is moderate; 91% report satisfaction with the Go language.
Software development
fromInfoWorld
2 months ago

AI coding requires developers to become better managers

Developers must learn to write precise specifications and adopt product-management skills to safely and effectively delegate coding tasks to AI assistants.
[ Load more ]