r/programming • • Oct 30 '26

Yet another performance degradation research induced by mutex in an unexpected hotpath in a mature database code.

Thumbnail mariadb.org
81 Upvotes

Couple years ago Marko decided to remove a partioned LRU cache from MariaDB(it is still used in MySQL code). There was a lot of doubt regarding this but his solution worked as good as a previous one for most of microbenchmarks except one. However at the time of the transition this performance regression had not been noticed. In March 2025 Mark Callaghan demonstrated the regression that has been introduced in 10.5. However his statistical results contained an interesting outlier for 10.8.8 that was on par with 10.4 and 3x faster than any version after 10.5. Alessandro Vetere was able to find out an offending mutex that syncs B-tree read operations running the microbenchmark reclaiming the lost performance.


r/programming • • 29d ago

I contributed to Golang, here is how you can too

Thumbnail youtu.be
0 Upvotes

r/programming • • Oct 30 '26

Break Stuff on Purpose

Thumbnail slack.engineering
9 Upvotes

r/programming • • Oct 30 '26

Mastering CSS Shapes with border-shape for Dynamic Designs

Thumbnail blog.master.dev
11 Upvotes

r/programming • • Oct 29 '26

Linux Kernel TCP Flaw With 9.8 CVSS Score Affects Ubuntu, Red Hat and Other Distributions

Thumbnail thehackernews.com
675 Upvotes

r/programming • • Oct 30 '26

Experimenting with Bindless Textures in WebGPU

Thumbnail toji.dev
31 Upvotes

r/programming • • Oct 29 '26

It's the memory latency, stupid

Thumbnail pivotlake.io
109 Upvotes

r/programming • • Oct 29 '26

The Last Proof of Human Craft: Forging a Microsoft Edge Full Chain with Logic Bugs Only!

Thumbnail blog.orange.tw
52 Upvotes

r/programming • • Oct 29 '26

AMD's ROCm HRX Loom v0.1 released for targeting AMD CPUs, GPUs & NPUs

Thumbnail phoronix.com
18 Upvotes

r/programming • • Oct 29 '26

email encryption

Thumbnail computer.rip
20 Upvotes

r/programming • • Oct 28 '26

If-statement that caused HTTP2Shell was itself undisclosed patch of vulnerability

Thumbnail bugsink.com
142 Upvotes

r/programming • • Oct 28 '26

Local-First Means Three Different Things

Thumbnail hologram.page
60 Upvotes

Author here. I've been designing a local-first data layer for most of this year, and I kept having the same conversation. I'd say "local-first" and people would hear ownership, or offline, or speed, depending on where they first ran into the word. So I wrote down where the three meanings come from and why they split.

There are five demos in there too, one for each idea. Playing with them as you read is half the fun.


r/programming • • Oct 30 '26

We published the full index of our internal Node stack: 348 npm packages, 257 repos

Thumbnail profullstack.com
0 Upvotes

r/programming • • Oct 29 '26

How to Create Your Own Decentralized Messenger Protocol

Thumbnail karboosx.net
8 Upvotes

r/programming • • Oct 28 '26

Making SIMD Code Scale to Any Vector Width

Thumbnail streamhpc.com
135 Upvotes

r/programming • • Oct 28 '26

A faster way to compute signed 64-bit floor division by constants

Thumbnail benjoffe.com
200 Upvotes

r/programming • • Oct 28 '26

Python jettisons the native JIT, at least for now

Thumbnail lwn.net
198 Upvotes

High level summary article

More detailed article

In June, the Python steering council announced that it was pausing work on the JIT in CPython's main branch until there was an accepted Python Enhancement Proposal (PEP) that addressed concerns about maintenance, compatibility, and set clear success metrics as well as a timeline for completion. [....] After months of discussion, the JIT maintainers have withdrawn the PEP. For now, it appears that development on the once-promising project has come to an end


r/programming • • Oct 27 '26

OpenAI still has a WebRTC Problem

Thumbnail moq.dev
155 Upvotes

r/programming • • Oct 27 '26

Billion-query-per-second lookup tables in C++

Thumbnail x.com
32 Upvotes

r/programming • • Oct 27 '26

Choose Your Backend: Three TLS Bugs in GoAhead

Thumbnail foxio.io
9 Upvotes

r/programming • • Oct 27 '26

DuckDB.NET 1.5.6.1: Reading Data Up to 12× Faster

Thumbnail giorgi.dev
105 Upvotes

r/programming • • Oct 27 '26

Building confidence in concurrent code with a model checker - Scott Wlaschin - NDC London 2023

Thumbnail youtu.be
24 Upvotes

I have followed Scott for some time because of his contributions to the fsharp learning community. He's website fsharpforfunandprofit.com is one of the best programming article websites. This talk especially is very good. I think Scott is very good at breaking down complex topics to make them seem approachable.


r/programming • • Oct 28 '26

Why Don’t We Have Bug Free Code?

Thumbnail liberalandlovingit.substack.com
0 Upvotes

Because people won’t pay for it.

This is an issue I know well. I was on the Windows 3.1 team at Microsoft. I wrote the book No Bugs. I founded and built the software company Windward Studios.
...

ps - I think this meets the subreddit rules. If it does not, apologies and please delete it.


r/programming • • Oct 26 '26

Why is it so expensive to send an email?

Thumbnail evancz.dev
828 Upvotes