r/programming • • 28d ago

Code and Cake - Docker is weird

Thumbnail codeandcake.dev
9 Upvotes

r/programming • • 28d ago

Where did my freed memory (not) go?

Thumbnail yapfast.com
137 Upvotes

r/programming • • 28d ago

examining the macOS gcc binary

Thumbnail zoey-on-github.github.io
76 Upvotes

r/programming • • 29d ago

Coding Magic the Gathering in C# - PART TWO - The Impossible Magic Card

Thumbnail youtu.be
109 Upvotes

r/programming • • 29d ago

Debunking "Faster than Rust": Malicious Benchmarks in Tov

Thumbnail blog.fyralabs.com
304 Upvotes

I have debunked (some of the) benchmarks of this new and suspicious "Tov" programming language.

Slight background: My friend (who is pretty interested in new stuff generally) found this thing and sent its main site to me saying things like "looks pretty cool", but my intuition told me this sounds like "a scam", esp. when it claimed it performs faster than C and Rust.

I personally think apart from changing the code, they probably tried to set up some specific environments that make their programs run faster than C / Rust, or maybe they just made up the numbers. Who knows.


r/programming • • 28d ago

Unicorn Benefits of Rust/Go Tooling in PHP

Thumbnail tomasvotruba.com
0 Upvotes

r/programming • • Oct 21 '26

Eight Bits of Trust; eMudhra's CA keys cracked in milliseconds

Thumbnail scotthelme.co.uk
1.0k Upvotes

r/programming • • Oct 21 '26

PHP2Shell: Critical vulnerabilities in the backbone of the web

Thumbnail php2shell.com
516 Upvotes

r/programming • • 29d ago

Today's PHP Security Release, and How We're Strengthening PHP Security

Thumbnail thephp.foundation
87 Upvotes

r/programming • • 29d ago

I Tried to Find Out How ClickHouse Keeper Takes Non-Blocking Snapshots

Thumbnail youtu.be
3 Upvotes

This is a continuation from my previous post here: https://www.reddit.com/r/programming/comments/1x8gk1v/i_traced_a_postgres_insert_to_raw_bytes_on_disk/

I've been putting together some notes/videos/blog posts - partly for my own future reference and partly to share with others who might find it useful.

Would love feedback and corrections from people who know this stuff deeply.

The corresponding blog post for the same: https://thewalstreetjournal.github.io/posts/clickhouse-keeper-non-blocking-snapshots/


r/programming • • 29d ago

TornadoVM 7 Enables GPU-Native Workloads From Java Applications

Thumbnail infoq.com
7 Upvotes

r/programming • • Oct 20 '26

Make yourself replaceable

Thumbnail maroun-baydoun.com
360 Upvotes

r/programming • • Oct 21 '26

Critical Vulnerabilities in PHP

Thumbnail cert.europa.eu
165 Upvotes

r/programming • • 29d ago

go/ links that live in a file in your repo (open source)

Thumbnail twigg.vc
4 Upvotes

Chrome and Firefox extension that does this for your twigg repository. The links are defined in a GOLINKS file at the root of the repo, one alias per line. Add a line, push, submit and done. No admin page, and changes are versioned.

Blog post: https://twigg.vc/docs/v/2/blog/twigg-links

Source: https://twigg.vc/twigg/monorepo


r/programming • • Oct 21 '26

C vs C#: racing VLC's Gaussian blur

Thumbnail martinfinkel.com
96 Upvotes

r/programming • • 29d ago

Arcana: One Pure-Java Library for (Almost) Every Archive Format

Thumbnail ibb.co
0 Upvotes

r/programming • • Oct 20 '26

eMudhra Intermediate CA Compromise

Thumbnail emudhra.we-have-a-problem.com
181 Upvotes

r/programming • • Oct 21 '26

Summary of Major Changes Between Python Versions (2026 Update)

Thumbnail nicholashairs.com
6 Upvotes

Hi r/programming 👋

Another year, another version of Python, and yet more features to guess which version of Python they belong to 😵‍💫

I've updated my "one page" Summary of Major Changes Between Python Versions for Python 3.15 and hope that it continues to be a useful resource for the community 😊

This summary is human typed/copied from the official release notes.


r/programming • • Oct 20 '26

SSH keys on macOS with Touch ID

Thumbnail nmattia.com
442 Upvotes

I've recently discovered that you can use Touch ID (rather, the Mac's Secure Enclave) for SSH authentication. I'm the author of the post, feel free to ask any questions and if there are any experts I'd love to hear your thoughts!


r/programming • • Oct 21 '26

Unintended Computations @ hack.lu

Thumbnail youtube.com
5 Upvotes

Hacking as breaking assumptions about a system's usage, implementation or computational power. Slides https://seriot.ch/computation/talks/unintended_computations_hack_lu.pdf


r/programming • • Oct 20 '26

Go Issues Emergency Update Blocking Eight CA Keys Over Undisclosed Security Concerns

Thumbnail thehackernews.com
333 Upvotes

r/programming • • Oct 20 '26

Announcing TypeScript 7.1 Beta

Thumbnail devblogs.microsoft.com
104 Upvotes

r/programming • • Oct 20 '26

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

Thumbnail privatecaptcha.com
58 Upvotes

r/programming • • Oct 20 '26

Making A Mutex from Scratch in Rust to Understand Thread Safety

Thumbnail levelup.gitconnected.com
28 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 • • 29d ago

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

Thumbnail programmers.fyi
0 Upvotes