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.

20 stories

GuixPkgs: every Guix package, as a Nix flake

fzakaria.com · 25 Jun

Linux · Software Architecture · Open Source

GuixPkgs is a project that imports the entire GNU Guix package repository into the Nix ecosystem as a flake.

By using guix-transfer to convert derivations, users can seamlessly integrate Guix packages into Nix projects, leveraging binary caches for efficiency. This approach allows developers to access unique Guix software within a Nix-managed environment without requiring a Guix installation.

Announcing the next generation of Distrobox

distrobox.it · 20 Jun

Go · Linux · Software Architecture

Distrobox v2 is available as a release candidate following a complete rewrite in Go.

This version aims for feature parity with v1 while improving maintainability, performance, and cross-architecture support. The interface remains consistent, and the project team is currently prioritizing stability and bug fixes on the 'next' branch, inviting the community to test and provide feedback.

Writing design docs

blog.ceejbot.com · 8 Apr

Leadership · Productivity · Software Architecture

A concise guide to writing effective design documents for software engineering.

The core purpose is achieving shared understanding and alignment through explicit reasoning and documented trade-offs. The process emphasizes iterative feedback: starting individually, consulting experts, and engaging stakeholders early to expose assumptions and improve project outcomes before final implementation.

I Made a Keyboard Nobody Asked For: My Experience Making TapType

fireborn.mataroa.blog · 1 Apr

Accessibility · Android · Software Architecture

The author, a blind Android user, created TapType to solve the accessibility failures of standard touchscreens that prioritize visual feedback.

After sharing it, they were overwhelmed by requests from a diverse user base. They emphasize that while they continue improving the app for its core purpose, they remain wary of feature creep that could undermine its accessibility for blind users.

Working software runs locally

nickmonad.blog · 30 Mar

DevOps · Software Architecture · Testing

Testing complex software is challenging, yet running services locally is vital for developer productivity and feedback loops.

Despite pressures to rely solely on CI/CD or production environments, maintaining a functional local development environment using mocks, fakes, or containerization enables safer experimentation, reliable debugging, and stronger foundations for advanced simulation testing techniques.

A Case Against Currying

emi-h.com · 22 Mar

Programming Languages · Software Architecture · Computer Science

The article critiques the functional programming convention of currying.

While elegant and facilitating partial application, the author argues that currying creates unconventional function shapes and asymmetry that complicate type system modeling and composition. The author proposes the tuple style as a clearer, more logical alternative and suggests exploring improved syntactic sugar for partial application instead.

Maximally minimal view types

smallcultfollowing.com · 21 Mar

Programming Languages · Rust · Software Architecture

The blog post proposes 'view types' as a feature for Rust to allow the borrow checker to understand which specific struct fields a method accesses.

This minimizes borrow checker conflicts, enabling cleaner code for tasks that currently require suboptimal workarounds. The proposal identifies a clear, implementable Minimum Viable Product (MVP) that avoids complex runtime changes or aggressive inference.

Code reviews do find bugs

entropicthoughts.com · 11 Mar

Software Architecture · Testing · Computer Science

The article refutes a 2015 Microsoft study claiming code reviews are ineffective at finding bugs.

Citing research, it argues code reviews catch 60% of defects with only 15% more time investment. Beyond bug detection, reviews are highly effective for rapid knowledge sharing, codebase familiarity, and maintaining long-term code quality through small, frequent iterations.

fast-servers: an interesting pattern

geocar.sdf1.org · 28 Feb

Backend · Distributed Systems · Software Architecture

The article proposes a high-performance network-server design using epoll and kqueue instead of traditional wrappers.

By pinning worker threads to CPU cores and utilizing processor affinity, developers can achieve 100k requests/second. The approach focuses on managing file descriptors efficiently, reducing state transitions, and leveraging kernel-level scheduling for optimal concurrency and simplified software architecture.

Prefer If Statements To Polymorphism

htmx.org · 21 Feb

Design Patterns · Distributed Systems · Software Architecture

Grug-oriented programming advocates for radical simplicity by favoring if statements over polymorphism, minimizing abstractions, and preferring longer methods for local clarity.

It emphasizes 'macroservices' to reduce deployment complexity, suggests an 'abstraction budget' for developers, and promotes copy-paste development over elaborate object models to maintain a maintainable, straightforward codebase.

Diagnostics Factory

matklad.github.io · 16 Feb

Design Patterns · Programming Languages · Software Architecture

The author proposes a factory pattern for error reporting in Zig, shifting away from complex error payloads and enums.

By using constructor functions to emit errors, developers gain flexibility, enable polymorphism between logging and testing, and separate error production from reporting. This decoupled approach simplifies debugging and improves long-term code maintainability.

The Next Version of Curling IO

curling.io · 12 Feb

Backend · Distributed Systems · Software Architecture

Curling IO is rebuilding its infrastructure using the Gleam programming language on the BEAM VM and switching to SQLite.

This upgrade aims for 20+ years of sustainability, focusing on AI agent APIs, high concurrency for peak registration, and type safety to ensure long-term reliability and easier developer onboarding while maintaining a seamless user experience.

I Am Happier Writing Code by Hand

abhinavomprakash.com · 7 Feb

Career · Productivity · Software Architecture

The author explores the psychological impact and professional pitfalls of vibe coding using AI tools like claude-code.

While LLMs offer speed, they often lead to a loss of the joy of coding and mental lethargy. The article argues that the physical act of writing code is essential for internalizing problem domains and ensuring technical correctness. Outsourcing logic to AI can create a disconnect where the developer merely 'passive-accepts' changes, skipping the critical thinking required for software engineering. To combat this, the author suggests a more deliberate, manual approach to using AI that maintains friction, ensuring the developer remains engaged, responsible, and mentally active in the development process.

(Un)portable defer in C

antonz.org · 5 Feb

C · Programming Languages · Software Architecture

This technical article explores the implementation of the defer statement in the C programming language, a feature common in modern languages like Zig but currently missing from the C standard.

The author examines various non-portable workarounds, including GCC nested functions with the cleanup attribute, Clang blocks, and Windows-specific structured exception handling. Each method is evaluated for its trade-offs, particularly the security risks of executable stacks associated with GCC trampolines. The article also covers alternative approaches using long jumps, for-loop hacks, and custom stack-based systems for LIFO resource management. Ultimately, the author recommends a simplified GCC/Clang macro using the cleanup attribute for most use cases, emphasizing that while portability remains a challenge, functional defer mechanisms are achievable in current C environments.

Interfaces and traits in C

antonz.org · 22 Jan

C · Programming Languages · Software Architecture

This technical analysis explores the implementation of polymorphism in C by mimicking high-level features like Go interfaces and Rust traits.

While C lacks native support for such abstractions, the article demonstrates how to achieve similar functionality using structs and function pointers. It critiques several approaches, including direct function pointer embedding and implementor-side method tables, highlighting issues like memory overhead and layout dependency. The author proposes a refined 'method table in the interface' pattern, which utilizes a static method table (mtab) and a self-reference pointer to ensure memory efficiency and type safety. The study concludes that while manual implementation in C requires careful management and lacks the elegance of modern languages, it remains a viable way to achieve decoupled, contract-based programming.

The lost art of XML

marcosmagueta.com · 20 Jan

Programming Languages · Software Architecture · Computer Science

This article argues that XML remains a superior data format compared to JSON and YAML, suggesting its abandonment was driven by developer convenience and the dominance of JavaScript rather than technical failure.

It highlights XML's robust features like schemas, namespaces, and self-description as essential for rigorous engineering, contrasting them with the limitations and ad-hoc validation typical of JSON based systems.

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