r/programming 7d ago

Memory ordering in CPUs

Thumbnail fgiesen.wordpress.com
25 Upvotes

r/programming 7d ago

How to test if your numerical code is Mathematically correct?

Thumbnail medium.com
29 Upvotes

r/programming 7d ago

Solving the 1+N Query Problem

Thumbnail acadia.engineering
127 Upvotes

r/programming 8d ago

Your executable is a SQLite database

Thumbnail fzakaria.com
486 Upvotes

r/programming 6d ago

Find Git Commits by Commit Message Text

Thumbnail hamvocke.com
0 Upvotes

r/programming 8d ago

Running a Java Spring Boot app on a 512 MB VPS with lightweight monitoring

Thumbnail pvrlabs.xyz
32 Upvotes

I wanted to see how a fairly representative Java Spring Boot application behaves on a very small VPS, especially the difference between configured heap and actual JVM process memory.

The test app uses Spring Boot 3.5.x, Spring MVC, JPA/Hibernate, H2, embedded Tomcat, Actuator, scheduled work, and outbound HTTP. I also kept lightweight monitoring on the same machine.

The original 256 MB configuration was too tight. With 512 MB RAM + 256 MB swap, the application completed the test reliably.

Full setup and measurements are in the linked article.

Since then I’ve also managed to get the same application working on a 256 MB VPS with swap using JDK 25 Compact Object Headers and tighter JVM settings. I’m preparing that as a separate follow-up experiment.


r/programming 8d ago

What Zig felt like, coming from Rust

Thumbnail besok.github.io
262 Upvotes

r/programming 7d ago

Every Event, Everywhere, All at Once • Jacqui Read

Thumbnail youtu.be
0 Upvotes

r/programming 8d ago

How an Underrated Refactor Saved 90% Memory Usage

Thumbnail tanstack.com
175 Upvotes

r/programming 7d ago

`bun-plugin-elm`: import { Elm } from "./Main.elm" (Made by Hand, btw) · cekrem.github.io

Thumbnail cekrem.github.io
0 Upvotes

r/programming 8d ago

Block-layer error injection

Thumbnail lwn.net
10 Upvotes

r/programming 9d ago

How To Report A Bug So It Actually Gets Fixed

Thumbnail blog.tymscar.com
230 Upvotes

r/programming 9d ago

How to Design an Animation

Thumbnail kciter.so
78 Upvotes

r/programming 9d ago

Compiler Optimizations

Thumbnail youtu.be
46 Upvotes

r/programming 10d ago

The unlikely Linux macro

Thumbnail rushed-reflections.bearblog.dev
185 Upvotes

Wrote a bit about the `unlikely` and `likely` macros in the Linux codebase. Great little exploration into tiny optimizations that everyone should know more about 😄


r/programming 10d ago

Debugging Starcraft RTS Micro (Starcraft Bot Competition)

Thumbnail youtu.be
8 Upvotes

r/programming 9d ago

Why so many languages use LLVM

Thumbnail youtu.be
0 Upvotes

r/programming 11d ago

Finding a hidden Mersenne Twister implementation inside a 15 year old game binary

Thumbnail medium.com
405 Upvotes

r/programming 10d ago

The Pit Of Success

Thumbnail youtu.be
9 Upvotes

r/programming 10d ago

MicroPython and CircuitPython: Pythons Quiet Takeover of IoT and Robotics

Thumbnail arxiv.org
9 Upvotes

r/programming 10d ago

Next.js Dynamic Routes now also available in Faces!

Thumbnail balusc.omnifaces.org
0 Upvotes

r/programming 12d ago

The August 17 outage, and the work ahead

Thumbnail github.blog
482 Upvotes

r/programming 11d ago

Pitfalls of Benchmarking on Modern Systems

Thumbnail stefan-marr.de
64 Upvotes

r/programming 11d ago

The Great Android Stack Reset: Mobile System Design History

Thumbnail returnzero.dev
26 Upvotes

Android, the last to arrive at the declarative UI party, took its time, until finally reaching a stable solution. Here's a rundown of the major changes in the Android System Design across the eras.

I was away from Android for 7 years and came home to a totally strange place. This is my attempt to make sense of what happened while I was gone - how the stack reset four times (Activities -> MVP/RxJava -> Architecture Components -> Compose) and why each lurch happened. Written for interview prep but the history stands on its own.


r/programming 12d ago

Music theory for programmers

Thumbnail runjs.app
506 Upvotes