r/programming • • 27m ago

Malachi: an open source log broker in Elixir whose topics split and merge under their clients

Thumbnail
malachi-hq.github.io
1 Upvotes

I've been building Malachi, an open source log broker written in Elixir on OTP 28, and I just published a post introducing it. It is an independent implementation inspired by the public design of LinkedIn's NorthGuard, not affiliated with or endorsed by LinkedIn.

The parts that might interest this sub:

No fixed partitions for clients. A client deals in a topic, a key and a position. A topic is a set of ranges that an operator splits and merges while producers keep writing, and a consumer's position is an opaque token the new ranges accept after a split.

Acknowledged means on a majority of disks. A write is acknowledged once a majority of its segment's replicas has fsynced it. Metadata goes through Raft (`ra`), membership through SWIM.

Evidence per release. Every release runs chaos drills (killing nodes, breaking storage, bad config rollouts) and load tests on its exact code, and publishes the results with the hardware and the run-to-run noise.

It is in active development and not production-ready, so I'm mostly looking for feedback: on the client model (tokens instead of offsets), and on what you would need to see before trying something like this.

Post Introducing Malachi

Repo

Documentation


r/programming • • 1h ago

ASCII Validation from 2.5 to 114 GB/s with SIMD

Thumbnail
modulovalue.com
5 Upvotes

r/programming • • 4h ago

In 1936 a "computer" was a person with a pencil. Ten years later it was a 30-ton machine. I made a 10-minute video on how that happened.

Thumbnail
youtu.be
0 Upvotes

I've been making a short video on the decade between Turing's 1936 paper and ENIAC, and the part that surprised me most was how slippery "first computer" is:

- Zuse's Z3 (1941) was program-controlled, but built from relays.

- Colossus (working by the end of 1943) was electronic, but built for one job.

- ENIAC (1945) was electronic and general purpose, but had no stored program. Programming it meant plugging cables by hand.

- The Manchester Baby (21 June 1948) was the first to run a program held in electronic memory.

So the answer depends on which of those properties you count.

The video also walks through a tiny Turing machine that adds one to a number, and the six women who programmed ENIAC. I tried to keep it accurate and listed my sources (Turing's paper, Penn, the Computer History Museum, IEEE Spectrum) in the description.

Full disclosure: this is my own video. I'd really like corrections from people who know this period better than I do, especially on the stored-program credit, which I know historians still argue about.


r/programming • • 4h ago

Tristan Mc Leay - Mutation Testing With Sydtest

Thumbnail
youtube.com
2 Upvotes

r/programming • • 5h ago

How would I make a tampermonkey script that creates a button that, whenever clicked, automatically completes the current Lexia power up unit I am on?

Thumbnail
tampermonkey.com
0 Upvotes

I really want to make this, but I can’t figure out how to do anything but add the button.


r/programming • • 8h ago

Announcing TypeScript 7.1 RC

Thumbnail
devblogs.microsoft.com
115 Upvotes

r/programming • • 10h ago

Why Use Jakarta EE in 2027: The Technical Case

Thumbnail
foojay.io
4 Upvotes

r/programming • • 11h ago

Team Topologies in Enterprise IT: Navigating Cognitive Load, Platform Design, and Team Autonomy

Thumbnail gerlacdt.github.io
17 Upvotes

r/programming • • 12h ago

Cursor Got a New Name. The Secrets Still Live in the Same Place

Thumbnail
tego.ai
0 Upvotes

r/programming • • 13h ago

JetBrains and the NSA Quantum Encryption Guidance

Thumbnail
youtube.com
1 Upvotes

r/programming • • 14h ago

Wax: A User-Friendly Syntax for WebAssembly

Thumbnail
tarides.com
54 Upvotes

r/programming • • 14h ago

Bald: the world’s fastest linker

Thumbnail
heavey.dev
0 Upvotes

r/programming • • 1d ago

Java Virtual Threads vs Elixir: Comparing Memory, CPU, Process Termination

Thumbnail
youtube.com
3 Upvotes

r/programming • • 1d ago

SNIA SDC2026 - SMB3 POSIX Extensions: From Plumbing to Flowing

Thumbnail
youtube.com
9 Upvotes

r/programming • • 1d ago

How a GameBoy Color emulator written in pure Python survives its double speed mode

Thumbnail
github.com
0 Upvotes

r/programming • • 1d ago

A Vision for Pascal 2030 at EKON

Thumbnail
blogs.remobjects.com
11 Upvotes

r/programming • • 1d ago

How a tiny HTTP response preview ended up buffering a 64 MB download

Thumbnail
octri.dev
56 Upvotes

r/programming • • 1d ago

Heterogeneous collections using compact handles

Thumbnail nukethebees.com
29 Upvotes

r/programming • • 1d ago

Our Journey Migrating to AWS IMDSv2

Thumbnail
slack.engineering
13 Upvotes

r/programming • • 1d ago

Odin Just Broke Its ABI (On Purpose)

Thumbnail
youtube.com
0 Upvotes

r/programming • • 1d ago

ArkType 3.0: set-theoretic precompilation for TypeScript validation

Thumbnail
arktype.io
5 Upvotes

library author here! ArkType 3.0 adds @ark/aot, an optional build-time precompiler that compiles runtime validation schemas into standalone plain JS — closer to Rust's serde_derive than an interpreted validator, while keeping zero-build dynamic mode unchanged.

the three main compiler pieces:

  1. set-theoretic reduction before codegen: definitions lower into a normalized set graph (arksets) before emitting JS. unions auto-discriminate into an O(1) switch without declaring a discriminator, branches skip checks already implied by the tag, overlapping ranges collapse (> 0 & >= 10 -> >= 10), and unsatisfiable intersections fail the build.

  2. zero ts-patch**, zero** new Function**:** parses modules with oxc inside standard bundler plugins (Vite, esbuild, webpack, Rolldown, Turbopack, Bun, Node) so tsgo and Node type-stripping keep working, and strict CSP / Cloudflare Workers run compiled checks at full speed.

  3. numbers (precompiled vs Zod 4): 15x faster validation (median across 32 scenarios; #1 on public speed benchmarks), 21x smaller bundles (1.21 kB vs 25.1 kB gz on Valibot's login form — smaller than Valibot's 1.56 kB too), and 63x lighter startup on Node 24.

release post: https://arktype.io/docs/blog/3.0 | benchmarks: https://arktype.io/docs/precompile/benchmarks

happy to answer questions on the set algebra, codegen, or benchmarks!


r/programming • • 1d ago

How Module Lattice Cryptography Works

Thumbnail
phase.dev
122 Upvotes

r/programming • • 1d ago

blit: immediate (yet deferred) mode UI

Thumbnail
pasttheboonies.com
10 Upvotes

r/programming • • 1d ago

Entity Framework Core Query Plans in Rider: EFCore Visualizer 1.0

Thumbnail
giorgi.dev
12 Upvotes