Tuesday, 3 November 2026

19 entries · final
Concept of the day · concurrency

Happens-Before and Memory Barriers

Without a barrier, there is no guarantee another thread ever sees your write.

The mechanism. Compilers reorder instructions, and CPUs reorder memory operations and buffer stores. Both are legal because single-threaded semantics are preserved. Across threads, that guarantee evaporates. A memory model defines happens-before: a partial order such that if write W happens-before read R, R must observe W. Synchronisation operations — a lock release/acquire pair, a volatile write/read, an atomic store-release/load-acquire — create those edges. Nothing else does.

The bug. A worker sets done = true and the reader loops while (!done) {}. Without volatile or an atomic, the compiler may hoist the read out of the loop entirely and the loop never terminates. This is not a theoretical risk; it is standard optimisation. Double-checked locking without volatile has the same flavour: another thread can see a non-null reference to a partially constructed object.

The orderings worth knowing. Relaxed gives atomicity only, no ordering. Acquire on a load and release on a store together give you the publish/subscribe edge you almost always want — everything written before the release is visible after the acquire. SeqCst adds a single global order and costs a full fence. Use acquire/release; reach for relaxed only for counters whose value you read once at the end.

Data race is undefined behaviour. In C and C++ this is not a figure of speech: a racy program has no defined meaning at all, and the compiler may do anything. Java and Go define racy outcomes more narrowly but still permit values you would call impossible.

Takeaway. "It works on my machine" and "it works on x86" are the same statement, and neither survives an ARM server or a new compiler version.

0 of 19 read

Top Reads

5

Articles and engineering write-ups worth the full read.

The Beginning of BSD Unix

fosscomics.com·Lobsters +1·211 points / 30 comments·2 sourcesunixthread →

Jailbreaking my car's navigation system just so I can change the time

blog.nns.ee·Lobsters·93 points / 4 commentslinuxreversingsecuritythread →

Work on GEFS (the Good Enough File System) for OpenBSD progresses

undeadly.org·Lobsters·91 points / 11 commentsopenbsdthread →

A Decade of Kill Bugs

alangrow.com·Lobsters·38 points / 4 commentshistoricallinuxunixthread →

Postgres 19 is late, and it's AI's fault

rhaas.blogspot.com·Lobsters·48 points / 20 commentsdatabasespracticesthread →

Shipped

4

Releases, changelogs, cloud and language news.

Polyend releases the Tracker firmware source code

backstage.polyend.com·Lobsters +1·115 points / 34 comments·2 sourcesartreleasethread →

Ubuntu still has not released patch for Linux 0day RCE in almost 3 weeks

freenode.net·Hacker News·433 points / 127 commentsthread →

Announcing the Special Interest Group (SIG) for Ray on Accelerators

Today, we are announcing the Special Interest Group (SIG) for Ray on hardware accelerators. When Ray was created in UC Berkeley over 10 years ago, the computing landscape looked very different. At the time, “distributed computing” referred to CPU clusters running frameworks like Apache Hadoop and Apache Spark. GPUs were only just moving from graphics and scientific computing into machine learning.

pytorch.org·PyTorchblogai

AI Search - AI Search billing postponed to December 1, 2026, and default sync interval is now 24 hours

Billing postponed to December 1, 2026 AI Search billing has been postponed by one month and now begins on December 1, 2026, instead of November 1, 2026. You will not be charged for AI Search usage before December 1, 2026. Pricing and included usage are unchanged. For rates and included usage, refer to Limits & pricing . Default sync interval is now 24 hours The default sync interval for AI Search

developers.cloudflare.com·Cloudflare Changelogai searchcloudinfra

Repos

3

Projects gaining real traction, and what they actually do.

l0ng-ai/openidea

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

github.com·GitHubtypescriptcode-editorcross-platform

microsoft/TokenEconomizer

Experience-Driven Black-Box Cost Control for Coding Agents

github.com·GitHubpythonagentic-aiagentic-coding

Djihads80/Eglantine

VERY experimental Nintendo Switch 2 emulator

github.com·GitHubc++

Discussion

3

Threads where the comments are the content.

Supermarket freezers across Europe hit by second suspected cyber-attack

https://www.bbc.com/news/articles/cq1kd1nee80eo https://www.irishtimes.com/technology/data-security/2026/11/...

theguardian.com·Hacker News·382 points / 426 commentsthread →

Jobless tech workers are being left out of San Francisco's AI boom

bloomberg.com·Hacker News·173 points / 245 commentsthread →

Show HN: Subvocal – Talk to your computer without making noise

Hi HN, we're Aarush and Arnav from The Subvocal Company (YC F26) ( https://subvocal.company/ ). We’re building smart glasses that let you talk to your computer without talking out loud. You can mouth words silently and discreetly and the glasses decode them to text at the speed of speech. Here's a video of Dave from YC trying it out: https://www.youtube.com/

news.ycombinator.com·Hacker News·647 points / 326 comments

AI

3

Capped on purpose, so it does not eat the edition.

Sparks of Weight-Space Programming: LLMs can natively read & write neural network weights

rikiyat.github.io·Lobsters +1·2388 points / 746 comments·2 sourcesaithread →

Anthropic's internal AI use, at retail prices, now exceeds its employee pay

businessinsider.com·Hacker News·314 points / 247 commentsthread →

Scaling Git at OpenAI

How OpenAI built Pando, a Git-compatible backend designed for the scale of development that Codex makes possible.

openai.com·OpenAI +1·168 points / 81 comments·2 sourcesengineeringaithread →

Deep

1

One paper or long teardown.

Matching Workloads to Blackwell: Power-Resolved Benchmarking of NVIDIA B200 and B300 across HPC and AI Workloads

We evaluate NVIDIA B200 and B300 (Blackwell Ultra) GPUs on two independent eight-GPU clusters, spanning computer-vision inference and training, LLM inference with Llama-3-8B and 70B~\cite{llama3}, and six production HPC codes. The B300 is not a uniform successor to the B200: it trails by up to 5.6$\times$ on convolutional inference, 8$\times$ on 3D vision transformer training, 24--27\% on 70B LLM

arxiv.org·arXiv CScs.dccs.arpaper

Revision

2 from earlier editions

Answer each one before you open it.

How do you publish an event and commit a row without a distributed transaction?3d ago

The only reliable way to both commit a row and publish an event.

Concept · Transactional Outbox
What happens to the origin the instant a popular cache key expires?10d ago

One expired key, a thousand simultaneous recomputations.

Concept · Thundering Herd and Cache Stampede