Topic

Software Architecture

Discover software architecture discussions covering design patterns, system design, and architectural decisions. Our digest consolidates microservices, monolith patterns, and domain modeling from developer communities.

What this topic tracks

  • Language and framework updates
  • API, architecture, and deployment patterns
  • Performance, reliability, and production lessons

Software Architecture · 1,135 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

15 stories

Open Source Mapping for News: Reuters

scottreinhardmaps.com · 5 Jan

Data Science · Software Architecture · Open Source

The international news agency Reuters has successfully transitioned from subscription-based mapping services to a custom, open-source web mapping ecosystem.

By leveraging Protomaps and the PMTiles format, they created an efficient system that allows for hosting massive geographic datasets on static file servers. The project utilized Planetiler for fast planet-scale data processing and Tippecanoe for specialized layers like disputed borders and custom labels. The final mapping experience is rendered using MapLibre GL, featuring a globe projection, neutral aesthetic styling via Maputnik, and sophisticated data visualization capabilities including video textures and automated data feeds for news stories. This shift provides Reuters with greater control over cartographic design and significantly reduces operational costs while maintaining high performance across devices.

The people who built Wikipedia, technically (2021)

en.wikipedia.org · 31 Jan

Software Architecture · History · Open Source

This report provides a historical overview of the technical evolution of Wikipedia, tracing its growth from a single-server hobby project to a global platform.

It highlights the contributions of key figures like Brion Vibber, Tim Starling, and Erik Möller, who transitioned the site from a 'trust-based' access model to a professionalized infrastructure. Key technical milestones discussed include the migration to MediaWiki, the implementation of caching strategies to handle traffic spikes, and the shift toward HTTPS following the Snowden leaks. The article also examines internal power dynamics, such as the move to divest administrative powers from developers to the community, and the friction between the Wikimedia Foundation and volunteer editors regarding software deployments like VisualEditor. Ultimately, it emphasizes that Wikipedia's success is rooted in both individual technical brilliance and the complex social structures governing its open-source development.

I Built a Game Engine from Scratch in C++ (Here's What I Learned)

dev.to · 7 Jan

C++ · Software Architecture

The author shares their experience of building a 2D game engine from scratch using C++ and DirectX 9, rather than relying on high-level engines like Unity.

This technical journey involved creating a Breakout clone while managing low-level tasks such as window creation via Win32 API, manual rendering pipelines, and custom physics systems. Key technical challenges discussed include implementing the State Pattern for robust game architecture, solving physics tunneling through Swept AABB collision detection, and separating collision detection from resolution. The project demonstrates how low-level development provides deep insights into performance optimization and software engineering that abstracted tools often hide.

ML Modules for Mere Mortals

thunderseethe.dev · 12 Nov

Programming Languages · Software Architecture

ML Modules provide a powerful modularity model built around signatures, which define a module’s interface and enable selective encapsulation.

Modules bundle functions and types, can expose abstract types to protect invariants, be repurposed under different signatures, and be parameterized by other modules (functors). include combines smaller components. Examples include generic ordered Set implementations and statically assembled build systems with swappable caches and runners for production or testing. Signatures let implementations change while preserving required interfaces.

I switched from VSCode to Zed

tenthousandmeters.com · 3 Jan

Productivity · Rust · Software Architecture

The author describes their transition from VSCode to Zed, a modern and lightweight IDE written in Rust.

The primary motivation for the switch was VSCode's increasingly intrusive AI features, such as persistent GitHub Copilot prompts, which became difficult to disable and negatively impacted performance and stability. In contrast, Zed offered a significantly faster, more responsive, and stable experience while maintaining a familiar UI and keybindings. Although configuring Python required manual adjustments to the Basedpyright language server settings to manage strict type-checking, the overall experience proved superior for development in Python and Go. The author concludes that while the VSCode extension ecosystem remains larger, Zed's performance and non-intrusive design make it a compelling competitor in the IDE space.

Don't throw it all away: Caching an immediate-mode UI

blickeditor.com · 21 Oct

Performance · Software Architecture

Blick adds a GPU-side rendering cache behind its immediate-mode UI: the UI rebuilds commands each frame, while tiled Metal rendering hashes each tile’s ordered commands and repaints only changed regions.

A GPU interpreter supports analytic and textured shapes, shape groups, and alpha barriers without separate popup textures. In a four-minute light-editing test on an unplugged M3 Pro MacBook Pro, caching painted 94% fewer tiles, reduced painter GPU time 87%, and lowered estimated CPU/GPU power 20%; battery gains remain preliminary.

McCLIM and 7GUIs - Part 1: The Counter

turtleware.eu · 26 Jan

Software Architecture · UI

In this post, Daniel Kochmański addresses the first task of the 7GUIs benchmark, 'The Counter,' using McCLIM.

The challenge requires building a GUI where a button increments a numeric value displayed in a label. The author demonstrates two distinct approaches within the McCLIM framework. The first method utilizes modern abstractions like gadgets and layouts, which operate directly on the event loop for immediate updates. The second method uses CLIM-specific abstractions like the command loop, presentations, and translators. This latter approach associates semantic meaning with output, allowing for more scalable and complex interactions. While gadgets offer simplicity for basic components, the stream-based paradigm provides greater flexibility and extensibility for professional application development. Kochmański emphasizes how these techniques can be mixed to create maintainable user interfaces with custom graphical metaphors.

annote: Writing java using only annotations

github.com · 6 Jan

Java · Programming Languages · Software Architecture

Annote is an experimental and satirical project that transforms Java annotations into a fully functional, interpreted programming language.

While annotations were originally designed for metadata, this project utilizes reflection to execute logic defined entirely within annotation parameters, including variables, loops, conditionals, and arithmetic. The framework uses a shunting-yard algorithm for expression parsing and a stack-based approach for block management. Despite its 'cursed' nature, Annote supports advanced features like recursion, state management through class-level fields, and custom exception handling via specific annotations. It serves as a humorous yet technical exploration of the limits of the Java Reflection API and the annotation system, intentionally disregarding traditional best practices in favor of metadata-driven execution.

Make the Plan a Value

jackkelly.name · 26 Nov

Design Patterns · Software Architecture

The amazonka generator was refactored by making its generation plan an explicit value, separating service-definition analysis from producing AWSRequest declarations.

A Config record and ResponseParser type now describe decisions before code generation, while DoItTheOldWay enabled incremental migration using regenerated bindings as golden tests. This simplified adding idempotency token support and preserves alternate plan consumers, enabling dry runs, validation, access control, property-based testing, and multiple front ends. The pattern decouples complex planning from execution.

A bit about email

maurycyz.com · 6 Nov

Software Architecture

Email routes messages through MUA, MSA, MTA, LDA, and message store using SMTP, DNS MX, retries, and status codes.

SPF, DKIM, and DNS checks limit spoofing and spam, while MIME encodes HTML, text, and attachments. TLS mainly protects links from passive eavesdropping, not end-to-end privacy. Because intermediate MTAs handle plaintext and delivery may take five days, email is effectively a store-and-forward digital postcard; sensitive content requires separate end-to-end encryption.

slidge.im - Gateways from XMPP to Other Networks

slidge.im · 1 Jan

Python · Software Architecture · Open Source

Slidge is an innovative software library developed in Python designed to create comprehensive gateways between XMPP and various alternative messaging networks, including Telegram, Discord, and WhatsApp.

The project focuses on providing robust and feature-complete coverage across different platforms, enabling users to consolidate all their digital communications under the unified XMPP protocol. This tool allows for seamless interaction through web browsers or dedicated XMPP clients. Multiple gateways have already been established, offering users the flexibility to choose between self-hosting their infrastructure or utilizing upcoming public services like slidge.im for simplified connectivity.

Let Me Let You Own Your Data

willett.io · 14 Nov

Software Architecture

While building Cheapskate, the author found that relying on Supabase for authentication and SQL storage conflicts with the goal of letting users own sensitive financial data.

Alternatives—including localStorage, showDirectoryPicker, CloudKit Private Database, SQLite in Google Drive, BYO-DynamoDB, remoteStorage, and CRDT/local-first systems—fail on cross-device access, sharing, browser support, setup, identity lock-in, collaboration, or maturity. Most also offer key-value or blob storage rather than the SQL API a conventional app needs.

My Opinion on Spelling Run Time vs. Run-time vs. Runtime

bobrubbens.nl · 14 Jan

Software Architecture

The article explores the semantic nuances and orthographic inconsistencies of the term 'run time' in technical writing.

The author highlights how spellings like runtime, run-time, and run time often conflate three distinct meanings: the execution environment (system), a specific point in time (moment), and the total elapsed duration (duration). By comparing style guides from Oxford and Google, the author argues for a more precise convention where 'runtime' is reserved for systems, 'run-time' functions as an adjective for moments, and 'run time' denotes duration. To further eliminate ambiguity, the author suggests replacing the duration meaning with 'execution time' whenever possible to ensure clarity in technical communication and documentation.

Fun with Algebraic Effects - from Toy Examples to Hardcaml Simulations

blog.janestreet.com · 6 Jan

Programming Languages · Software Architecture

In this technical deep dive, the author discusses the migration of the Hardcaml_step_testbench library at Jane Street from a monadic interface to an algebraic effects-based design using OCaml 5.

The article highlights how monads can 'infect' code, making it difficult to read and incompatible with performance-oriented features like unboxed types and local modes. By utilizing algebraic effects through the Handled_effect library, developers can write cleaner, synchronous-looking code for FPGA simulations without traditional monadic boilerplate such as let%bind. This shift allows for more elegant handling of synchronization points in testbench threads, improved stack traces, and better composability while maintaining OxCaml’s type-safety guarantees via local mode handler annotations.

tabnet: an intranet you join by opening a tab

fzakaria.com · 30 Nov

Software Architecture

tabnet is a proof-of-concept private overlay network where each browser tab becomes a temporary member: users sign in with GitHub or exe.dev, receive a network address, and leave by closing the tab.

Tailscale’s client, compiled to WebAssembly, creates the browser interface; Headscale manages identities and WireGuard connectivity, while a DERP relay forwards end-to-end encrypted packets. Tabs can share apps, chat, files, and drawings without installation, though the coordination server can currently provide false identities.

Where it came fromLobstersDev.toCreate a Snapbyte.dev digest and choose Software Architecture as one of your topics.Build your digest