r/programming • • Aug 11 '26

Moving integer division to floating-point is trivial

Thumbnail marc-b-reynolds.github.io
112 Upvotes

r/programming • • Aug 11 '26

The Past, Present & Future of Programming Languages • Kevlin Henney

Thumbnail youtu.be
19 Upvotes

r/programming • • Aug 11 '26

An Inside Look at the Relay Market Powering Token Resellers and Fraud

Thumbnail vectoral.com
7 Upvotes

r/programming • • Aug 10 '26

On comments

Thumbnail blog.helsing.ai
189 Upvotes

Comments in code are often deemed "mostly useless" these days. They are, supposedly, mostly obvious, stale, and repeat what the code already says. And so people pay less attention to them both when reading and writing code.

That trend sucks. When used right, comments are genuinely useful and sometimes critically important! So, I wrote about some of the kinds of comments I think earn their place, each with examples from real code bases. Hope you find it useful, and that we can recover some of the love that comments deserve!


r/programming • • Aug 11 '26

Vertical slices, their ownership and external dependencies

Thumbnail architecture-weekly.com
2 Upvotes

r/programming • • Aug 10 '26

Beyond Senior - Creating Hope

Thumbnail baweaver.com
104 Upvotes

Every time I leave a role I try and write up where my philosophy landed and what I want to take into my next role. Having seen this play out at enough companies over the years to where people progressively lose motivation and stop believing change is possible I've come to the opinion that one of the most valuable things we can do as engineering leaders is to provide hope.

The post goes more into it, but I do not mean any vapid rah-rah motivational speeches, I mean earning back that hope every day by snowballing small wins into larger ones and making people believe that their effort matters.


r/programming • • Aug 10 '26

Optimizing an NVFP4 Blockscaled GEMM on RTX PRO 6000 Blackwell GPU (SM120)

Thumbnail research.colfax-intl.com
7 Upvotes

r/programming • • Aug 10 '26

Tail-Call Interpreters in Rust

Thumbnail lordgoati.us
13 Upvotes

r/programming • • Aug 11 '26

Software Engineering Is Cool, But Is It Interesting?

Thumbnail ertu.dev
0 Upvotes

r/programming • • Aug 11 '26

Why I Still Read Code

Thumbnail alex.draftist.io
0 Upvotes

r/programming • • Aug 09 '26

Assembly Hall of Shame: Racing to the bottom of CPU performance

Thumbnail github.com
560 Upvotes

r/programming • • Aug 10 '26

PGConf.EU 2026 schedule is live 🐘

Thumbnail 2026.pgconf.eu
5 Upvotes

PGConf.EU is coming to Valencia on 20–22 October, with five tracks covering PostgreSQL administration, internals, development, the community, and real-world use cases.

Topics include autovacuum, backups, high availability, performance tuning, WAL and recovery, query execution, memory management, corruption detection, and PostgreSQL 19.

PostgreSQL also turns 30 this year, so the Community track will look back at the project’s history and how it is maintained today.

Community Events Day takes place on 23 October.

Schedule: https://www.postgresql.eu/events/pgconfeu2026/schedule/

Registration: https://2026.pgconf.eu/registration/ 


r/programming • • Aug 09 '26

The Sentinel Object Pattern in Python

Thumbnail python-patterns.guide
31 Upvotes

Officially added in Python 3.15

https://peps.python.org/pep-0661/


r/programming • • Aug 08 '26

Stack Overflow drops to 1,442 questions in July, down 99% from 2014 peak

Thumbnail ppc.land
3.9k Upvotes

r/programming • • Aug 09 '26

Hungarian Assignment Algorithm: Applied Optimal Transport for Programmers

Thumbnail leetarxiv.substack.com
38 Upvotes

r/programming • • Aug 09 '26

Reducing Graphics API Complexity: A Clean Slate Design for Modern GPUs

Thumbnail youtube.com
67 Upvotes

r/programming • • Aug 09 '26

A quick look at zero-knowledge proofs

Thumbnail bernsteinbear.com
53 Upvotes

r/programming • • Aug 08 '26

The advantage of using program images as a flight recorder instead of relying on logs

Thumbnail yogthos.net
119 Upvotes

r/programming • • Aug 08 '26

Differential heuristics: learning about a way to optimize the A* heuristic

Thumbnail redblobgames.com
47 Upvotes

r/programming • • Aug 08 '26

A shell exclamation mark is not for yelling. Be lazy. | Filip Roséen

Thumbnail refp.se
152 Upvotes

r/programming • • Aug 08 '26

JDK 28 EA Build10 is now available for download and includes JEP 401: Value Objects (Preview) from Project Valhalla

Thumbnail jdk.java.net
33 Upvotes

r/programming • • Aug 07 '26

From constraint models to playable puzzle games

Thumbnail zayenz.se
105 Upvotes

r/programming • • Aug 08 '26

Solving and benchmarking QUBO problems with Gurobi in Python

Thumbnail youtu.be
5 Upvotes

State-of-the-art classical optimizer Gurobi for Quadratic Unconstrained Binary Optimization (QUBO) problems.

The core gurobipy implementation for QUBO is relatively compact:

model = gp.Model()
x = model.addMVar(n, vtype=GRB.BINARY)
model.setObjective(x @ Q @ x, GRB.MINIMIZE)
model.optimize()

solution = x.X.astype(int)
objective = model.ObjVal

Complete workflow in Python. First formulate a graph problem (weighted Max-Cut) as QUBO, solve it with Gurobi, benchmark increasingly large instances, and understand what the solver is doing beyond the optimize() call.

Interested in feedback on the modeling, benchmarking methodology, and which additional Gurobi metrics would make the comparison more rigorous.


r/programming • • Aug 06 '26

The LuaJIT NYI That Silently Poisoned an Unrelated Hot Loop

Thumbnail streamhpc.com
164 Upvotes

I was optimizing the Lua transpiler for my modding language grug and ran into a really weird LuaJIT performance bug. The same benchmark could randomly run 20× slower, and it turned out a LuaJIT NYI (Not Yet Implemented) could silently blacklist an unrelated hot loop.

I wrote up the investigation here.

It goes from the benchmark mystery through LuaJIT's trace recorder internals, and ends with a PR to get unpack off LuaJIT's NYI list. Feedback is very welcome! :)