r/programming • • 6d ago

JPA vs Hibernate vs JDBC: What Each One Actually Does | Visually Explained

Thumbnail youtu.be
0 Upvotes

r/programming • • 7d ago

Why memory-hard proof-of-work hashes are not a popular choice for CAPTCHA

Thumbnail privatecaptcha.com
58 Upvotes

r/programming • • 7d ago

Making A Mutex from Scratch in Rust to Understand Thread Safety

Thumbnail levelup.gitconnected.com
29 Upvotes

Hey r/programming!

I wrote a comprehensive article on constructing a mutex from scratch.

It covers:
- Data races: what happens at the register level, and how parallel access can go wrong
- Atomics & Memory Ordering: why atomics work and what each memory ordering does (Aq/Rel/AqRel/SeqCst)
- Spin lock & Guards: Building a simple mutual exclusion lock via an AtomicBool, and providing safe access to the protected data
- And finally, Mutexes: A more complex mutual exclusion primitive that can achieve better performance via thread::park/::unpark

The article benchmarks and compares the performance of both a spinlock and Mutex to understand when to use which.

Have you ever noticed a massive performance boost from switching from one synchronization primitive to another?
Feedback on the article is also appreciated!


r/programming • • 6d ago

Think Php2Shell Was Bad? PHP Is About to Face an Absolute Bloodbath

Thumbnail programmers.fyi
0 Upvotes

r/programming • • 8d ago

The reverts will continue until morale improves [PostgreSQL 19]

Thumbnail peter.eisentraut.org
614 Upvotes

r/programming • • 8d ago

Making software is an artistic activity

Thumbnail kolemannix.com
344 Upvotes

A brief argument framing software creation, and specifically the details of the code, as an act of art


r/programming • • 8d ago

GitHub Actions is down once again

Thumbnail githubstatus.com
457 Upvotes

If you're experiencing actions stuck in a queued state, it's not you:

Update - We’re are currently investigating degraded availability affecting GitHub Actions, GitHub Pages and Webhooks.

Customers may experience delays in workflow processing, site builds and webhook delivery.

Oct 19, 2026 - 15:56 UTC

Update - Webhooks is experiencing degraded performance. We are continuing to investigate.
Oct 19, 2026 - 15:50 UTC

Investigating - We are investigating reports of degraded performance for Actions and Pages
Oct 19, 2026 - 15:49 UTC


r/programming • • 7d ago

Google Threat Intelligence Group: Investigating Ephemeral Supply Chain Tampering

Thumbnail cloud.google.com
8 Upvotes

r/programming • • 8d ago

The Labor Market for Recent College Graduates

Thumbnail newyorkfed.org
210 Upvotes

​

Why is unemployment rate of recent CS and CE grads at 7 and 7.8% compared to the natural rate of unemployment of 4.2%. The whole economy is still going fine but recent graduates of cs and ce have an outsized affect.

Overall unemployment rate of recent graduates is also 5.7%


r/programming • • 7d ago

New Season Upgrades Vol 3: Split Keyboard Adventures! · cekrem.github.io

Thumbnail cekrem.github.io
1 Upvotes

r/programming • • 8d ago

How to Gaslight JavaScript Programmers

Thumbnail bryanpg.com
51 Upvotes

r/programming • • 8d ago

Solving Strange Website Behavior Found in the Wild

Thumbnail hyasynthesized.github.io
13 Upvotes

r/programming • • 8d ago

Rendering untrusted HTML email, safely

Thumbnail making.close.com
18 Upvotes

r/programming • • 8d ago

Campfire port in Java is faster than Rust. Some thoughts about JEP 544 (AOT Code Compilation)

Thumbnail reddit.com
56 Upvotes

r/programming • • 9d ago

This Website Is Now Made in Swift

Thumbnail sindresorhus.com
102 Upvotes

r/programming • • 8d ago

Parser Combinators

Thumbnail t3.at
12 Upvotes

r/programming • • 8d ago

Maths, Metal, and Mandelbrot

Thumbnail blog.jacobstechtavern.com
8 Upvotes

r/programming • • 8d ago

Pcodec is awesome! 15% smaller and 2x faster than ClickHouse's DoubleDelta

Thumbnail tomalard.github.io
39 Upvotes

Two weeks ago, I posted about how ClickHouse outcompressed Parquet on my IoT dataset.

But just days ago, pcodec was merged into ClickHouse, and it significantly improves on compression ratio while also trading blows on decompression speed with the previous schema.

It's a rather niche and sophisticated codec though, at least compared to the ones we had before in ClickHouse, so I thought I'd make a post where I try to explain the key conceptual ideas behind it. Enjoy!


r/programming • • 8d ago

In Context - Rich Hickey (Clojure/Conj 2026)

Thumbnail youtube.com
13 Upvotes

r/programming • • 9d ago

It's still OK to enjoy programming

Thumbnail chriskiehl.com
677 Upvotes

r/programming • • 8d ago

Genera for the Initiated: Inside Symbolics Lisp Machines

Thumbnail youtube.com
3 Upvotes

r/programming • • 8d ago

Thoughts on Dynamic Consistency Boundary

Thumbnail event-driven.io
7 Upvotes

r/programming • • 9d ago

How Containers Work: Building a Docker-like Container From Scratch

Thumbnail labs.iximiuz.com
171 Upvotes

r/programming • • 9d ago

How tough can emoji be?

Thumbnail totaldraw.com
40 Upvotes

Turns out, quite tough!


r/programming • • 8d ago

Borrow Checking Zero-Cost Cyclic Mutability

Thumbnail antelang.org
1 Upvotes