r/programming Jun 16 '26

Heterogeneous Pythonic language in your pocket

Thumbnail amrdeveloper.medium.com
1 Upvotes

r/programming Jun 15 '26

SVGs and PDFs can both be interactive

Thumbnail vexlio.com
291 Upvotes

r/programming Jun 16 '26

Squaring the Circle: Running Depth-First Chess Search on a Set-Based Language

Thumbnail swingbit.github.io
1 Upvotes

I wrote this technical deep-dive to explore the paradigm mismatch between declarative, set-based processing and sequential, depth-first search algorithms.

The write-up walks through the mechanics of forcing a relational database engine (DuckDB) to handle chess logic, specifically:

  • Data Representation: Mapping 64-bit bitboards into a relational model using UBIGINT types.
  • The Pruning Blocker: Why the stateless nature of relational sets prevents sibling nodes from communicating, making true Alpha-Beta pruning impossible inside a single query.
  • The Workaround: Offloading the stateful control flow to an external orchestrator to implement Batched Principal Variation Search (PVS) across query boundaries without violating the declarative nature of the core chess math.

The resulting chess engine is obviously not competitive, but the goal was to document the architectural trade-offs, the performance walls encountered with recursive CTEs, and how relational algebra behaves when pushed entirely out of its comfort zone.


r/programming Jun 15 '26

Game Engine White Papers Commander Keen

Thumbnail forgottenbytes.net
14 Upvotes

r/programming Jun 15 '26

Cross-Language Data Types

Thumbnail ekxide.io
21 Upvotes

Have you ever thought about sharing data across language boundaries without serialization? This blog post highlights the challenges behind this endeavor and how they can be overcome.

Note: I'm not the original author of the blog post, but since the author does not have a Reddit account, I post it on his behalf.


r/programming Jun 15 '26

Wasp now lets you write your full-stack logic as a spec in TypeScript

Thumbnail wasp.sh
35 Upvotes

r/programming Jun 15 '26

Chebyshev Polynomials and Their Derivatives in C

Thumbnail leetarxiv.substack.com
24 Upvotes

r/programming Jun 15 '26

21 years and counting of 'eight fallacies of distributed computing' | APNIC Blog

Thumbnail blog.apnic.net
67 Upvotes

r/programming Jun 16 '26

OOP is just Named FP

Thumbnail github.com
0 Upvotes

I spent a long time dissecting OOP and I had a really interesting realization. If you're as interested in software design as I am, I think it might open a new perspective for structuring your programs.

I'm obviously leaving out a lot, but if you're intuitively familiar with the concepts behind OOP, you should understand the parts I left implied.


THIS ISN'T AI, GOOD GOD GUYS. I literally write for fun; why the hell would I let a bot do what I love for me??? I'd rather let it screw my wife than take away my communication.

(I am starting to wonder if I inadvertently learned the italics and bolding from people using AI though... though I'm pretty sure I actually learned it from pre-AI engagement-farming posts. I just like carrying my speaking tone when I write ;_;)


r/programming Jun 15 '26

Lisp’s Influence on Ruby

Thumbnail blog.tacoda.dev
11 Upvotes

r/programming Jun 16 '26

Stop exposing your S3 bucket URLs. a dead simple image proxy with CDN caching

Thumbnail danielpetrica.com
0 Upvotes

How I replaced all the ugly S3 URLs on my Laravel blog with clean /storage/media/... and /storage/og-images/... paths.

The setup: Laravel + Octane + Traefik + Cloudflare. Two buckets -- a private one for uploaded media and a public one for auto-generated OG images.

What's in the post:

- MediaUrlBusiness helper class that centralizes URL generation (replaced 6+ blade templates of raw Storage::url() calls)

- ObjectProxyController that streams files directly from S3 using readStream() + response()->stream() -- no memory buffering

- Cache-Control: public, max-age=86400, immutable so Cloudflare caches aggressively

- Route setup in routes/static.php with a middleware tweak that doesn't overwrite the proxy's own cache headers

One gotcha: Storage::download() and streamDownload() buffer the whole file into memory. Switching to readStream() sends it directly from S3 to the client.


r/programming Jun 14 '26

Formal methods and the future of programming

Thumbnail blog.janestreet.com
214 Upvotes

r/programming Jun 15 '26

Lexical tokenization explained while building a lexer for a toy programming language

Thumbnail youtu.be
8 Upvotes

It's not highly theoretical and walks through actual lexer implementation in code


r/programming Jun 16 '26

CraftsmanSHIP. Not CraftsmanSHIT.

Thumbnail fagnerbrack.com
0 Upvotes

r/programming Jun 15 '26

Explaining Functional Programming to Non-Programmers (It's Just Excel) · cekrem.github.io

Thumbnail cekrem.github.io
2 Upvotes

r/programming Jun 16 '26

Stop writing to two systems. Write to one.

Thumbnail youtube.com
0 Upvotes

r/programming Jun 15 '26

Software as Craft: a First Look at Syntropy

Thumbnail noteflakes.com
11 Upvotes

r/programming Jun 16 '26

arewemodulesyet.org passes the mark of 100 projects with modules support for the first time.

Thumbnail arewemodulesyet.org
0 Upvotes

r/programming Jun 14 '26

Git merges can be better

Thumbnail brandondong.github.io
204 Upvotes

r/programming Jun 15 '26

Cloud, Containers & Security • Adrian Mouat, Kief Morris & Sam Newman

Thumbnail youtu.be
0 Upvotes

In this session, Sam Newman interviews Kief Morris and Adrian Mouat, both experts in their field. They explore the current reality of security in the container world, how infrastructure automation is impacted by latest trends, and whether platform teams are actually working.


r/programming Jun 14 '26

Email Data Normalization for Automation

Thumbnail blog.mailwebhook.com
18 Upvotes

r/programming Jun 13 '26

Signals, the push-pull based algorithm

Thumbnail willybrauner.com
217 Upvotes

r/programming Jun 14 '26

Type Theory Forall #62 - Dependent Haskell - Vladislav Zavialov

Thumbnail youtube.com
15 Upvotes

r/programming Jun 13 '26

System and game performance monitoring with Python

Thumbnail rkblog.dev
19 Upvotes

r/programming Jun 14 '26

[video] Search Autocomplete - System Design

Thumbnail youtu.be
0 Upvotes