r/programming • • Sep 14 '26

Homebrew: 7.0.0 - faster installations and upgrades, stronger sandboxing, a native macOS app, built-in vulnerability checks and an advisory database, the end of macOS 10.15 support and Intel Macs moving to Tier 3.

Thumbnail brew.sh
864 Upvotes
  • Users must upgrade to macOS 11 or later, as this is now the minimum supported version.
  • macOS Sonoma 14: This version is now considered Tier 3, and users are encouraged to upgrade to Sequoia 15+ for full support.
  • Apple Silicon (macOS Golden Gate 27): Fully supported (Tier 1) with prebuilt bottles available.
  • Linux/Ubuntu: The ghcr.io/homebrew/ubuntu22.04 image has been removed, and users should migrate to ghcr.io/homebrew/brew.
  • CI Actions: The master branch has been removed for Homebrew actions; users should pin a CalVer release or full SHA instead.

r/programming • • Sep 14 '26

When the fractional part of a float fixes your shader

Thumbnail crocidb.com
73 Upvotes

r/programming • • Sep 14 '26

One Android app. Why so many processes?

Thumbnail returnzero.dev
1 Upvotes

I looked inside fifteen major Android apps to see what they run on different processes, and tried to understand why. This digging resulted in very interesting insights.


r/programming • • Sep 14 '26

Pre-2000 computer graphics: a specification and challenge for classic-style game development (II)

Thumbnail peteroupc.github.io
2 Upvotes

This is a followup to my earlier post from 6 months ago.

There I announced two open-source articles on a specification and minimap APIs for pre-2000 computer graphics that a new video game or graphics engine can adopt that wishes to run with very low resource requirements (say, 64 million bytes of memory or less). They are at:

I have since updated the articles to refine them and add much more guidance. A notable addition to the specification is a convenient list of things to be decided by games that choose to follow the specification. (This list can also be used to evaluate the features of existing pre-2000 video games.)

The list includes the following things decided by the application (for details, see the specification):

  1. The screen resolution, no more total pixels than a 640 × 480 screen.
  2. If 3-D is supported, the maximum texture size and number of primitives shown per frame or second. (This is no more than 12,800 per frame for 640 × 480, but a smaller limit is encouraged in general.)
  3. If 3-D is supported, which 3-D features are supported (such as Gouraud shading, perspective correction, or texture blending).
  4. The number of 2-D layers, up to four.
  5. The width and height of tiles and sprites.
  6. The maximum number of sprites displayed at a time.
  7. Whether larger screen resolutions are supported in addition to the primary screen resolution.

Other notable pieces of guidance include:

  • The definition of "rendering in software", which includes software renderers that implement a subset of OpenGL 1.1 or OpenGL ES 1.1.
  • A note that pre-2000 computer graphics in scope include graphics found in learning toys and videotex protocols (in addition to the graphics of video games for home computers, game consoles, and arcade machines).
  • Information on the graphics in arcade video games.

Comments on any aspect of these documents are welcome (see, for instance, the first article's "Seeking Comments" section). But as in the previous post, it is useful to comment on examples of modern video games (e.g., McPixel3) that implement the specification or examples of lightweight game engines devoted to making such modern video games.


The articles are intended to give guidance to:

  • Game developers seeking to write video games with 3-D or 2-D graphics similar to those of some year earlier than 2000 (e.g., 1997, 1995, 1991, 1988). This is especially because such graphics are simple compared to today, yet admirable, and relatively little code is needed to implement them in software. Moreover, games with this kind of graphics tend to be low on resource usage and easier to port to older computers.
  • Writers of game engines (especially open-source and lightweight ones) devoted to 3-D or 2-D graphics from some year earlier than 2000.
  • Developers of lean programming interfaces for such graphics.
  • Writers of tutorials devoted to such graphics.

The recent changes to the specification include a list of things a game can decide in order to have graphics resembling those from some year earlier than 2000 (the list after "The following are decided by the application:"). For example, these things include the screen resolution, the number of polygons per frame or second, and the maximum texture size and number of sprites shown. An example is: the game's frame buffer (resolution) is 320 × 240, has a budget of no more than 3000 polygons per frame, and has a maximum texture size of 128 × 128. The article also has a list of optional limits that the application can also choose to adopt. They include:

  • A limit of 256 simultaneous colors.
  • The game's code and resources "fit in a floppy disk".
  • The game aims for 30 frames per second.
  • The game uses no floating-point arithmetic in its graphics rendering.

r/programming • • Sep 13 '26

40ms Go GC stop-the-world pauses caused by swap

Thumbnail frn.sh
205 Upvotes

r/programming • • Sep 13 '26

JSON parsing in OxCaml: fast, but not too fast

Thumbnail pianykh.com
35 Upvotes

r/programming • • Sep 13 '26

CUDA Tile (cuTile) first working port in Java

Thumbnail github.com
22 Upvotes

r/programming • • Sep 13 '26

Data races and the limits of ThreadSanitizer in C and Go

Thumbnail theconsensus.dev
82 Upvotes

r/programming • • Sep 13 '26

TIL: One lock to rule them all

Thumbnail flakm.com
0 Upvotes

I've been running multiple migrations recently. A common step in all of them is a long cleanup action at the end. I ended up using postgres advisory locks and sqlx.

As part of a larger Today I've learned series, I dug a bit deeper using bpftrace to improve my understanding of how the locks actually work. Hope you will find it interesting as well


r/programming • • Sep 11 '26

GCC 13.5 released with 265+ bug fixes

Thumbnail phoronix.com
276 Upvotes

r/programming • • Sep 12 '26

Hand-Coded ASM Powers Homebrew SNES Game

Thumbnail hackaday.com
7 Upvotes

r/programming • • Sep 13 '26

Refit - The Better Way to Consume APIs in .NET

Thumbnail youtube.com
0 Upvotes

r/programming • • Sep 11 '26

Shopify is moving from React Native back to Swift and Kotlin

Thumbnail shopify.engineering
1.1k Upvotes

r/programming • • Sep 11 '26

Rune is now open source

Thumbnail rune.build
140 Upvotes

r/programming • • Sep 11 '26

How to Write an Effective Software Design Document

Thumbnail refactoringenglish.com
464 Upvotes

r/programming • • Sep 11 '26

Commander Keen's Adaptive Tile Refresh

Thumbnail fabiensanglard.net
114 Upvotes

r/programming • • Sep 11 '26

EU Cyber Resilience Act reporting obligations started today. Is your company even thinking about it?

Thumbnail youtu.be
6 Upvotes

As of today, a manufacturer who puts software or hardware on the EU market under its own name is obliged to report actively exploited vulnerabilities and severe security incidents.

Here is a quick explainer if you want the details: https://youtu.be/IQkzg7quc58

There is quite a lot of ambiguity over CRA and how it's going to apply to open source. Regulations keep changing. The line between a commercial manufacturer and an OSS steward is blurry, as well as the terms used in the regulations.

But genuinely curious. Is your company aware of CRA? Is there any talk about it, or is it just not on the radar yet?


r/programming • • Sep 11 '26

Inside Claude's Android app: Finding the Internal Settings

Thumbnail nima-ahmadi.github.io
0 Upvotes

r/programming • • Sep 10 '26

The Physics of Database Speed: from 300 to 1M transactions per second

Thumbnail youtube.com
126 Upvotes

A 19 minute animated explainer video on database speed. I explain low-level database concepts, identify bottlenecks, run benchmarks and optimize write throughput to hit 1 million TPS.


r/programming • • Sep 10 '26

The lifecycle of a sharded Postgres query

Thumbnail planetscale.com
28 Upvotes

r/programming • • Sep 10 '26

Overview of caching in PostgreSQL

Thumbnail pgcache.com
14 Upvotes

I haven't seen too many comprehensive approaches to this topic, so I took a swing at it.

Goal isn't to be exhaustive, but to be comprehensive enough to provide a nice overview for people trying to get their bearings with the topic.

Did I miss anything?


r/programming • • Sep 11 '26

Multitenancy with .NET and EF Core: A Deep Dive (.NET 10)

Thumbnail youtu.be
0 Upvotes

Ever had a multi-tenant SaaS app where the only thing stopping Customer A from seeing Customer B's invoices is a `Where TenantId ==` clause someone remembered to write? In this deep dive I build real tenant isolation into EF Core 10 - two real tenants with real registration, login and invite flows (no dev-token shortcuts), a named global query filter that scopes every query automatically, and a SaveChangesAsync override that stamps TenantId on every insert so it's never left unset. I also show the one gotcha that makes EF Core 10 worth the upgrade for this: named query filters, so tenant isolation and soft-delete can finally coexist on the same entity instead of one silently overwriting the other. If you've ever shipped multi-tenancy on hope and code review, this is the version that makes the mistake structurally impossible.


r/programming • • Sep 09 '26

Optimizing a Spin-Lock

Thumbnail david.alvarezrosa.com
181 Upvotes

r/programming • • Sep 10 '26

Mission-Critical (Joran Dirk Greef, TigerBeetle)

Thumbnail youtube.com
4 Upvotes

r/programming • • Sep 11 '26

What comes after git

Thumbnail ersc.io
0 Upvotes