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

VisiCalc Reconstructed

zserge.com · 15 Mar

C · Programming Languages · Software Architecture

This article explores the fundamental architecture of VisiCalc, the first spreadsheet software, and demonstrates how to build a minimal clone in C.

Key concepts include a grid data model, a recursive descent parser for formula evaluation, a simple recalculation engine for reactive updates, and a curses-based TUI.

Trocar de provedor não deveria ser uma dor de cabeça

dev.to · 5 Nov

Backend · Design Patterns · PHP · Software Architecture · Fintech

Provider changes should not require rewriting the domain.

A provider-agnostic design keeps business concepts such as paid and canceled separate from Stripe or Mercado Pago terminology, storing only generic provider data and references. DDD adapters translate each API through a shared PaymentGatewayContract, while Laravel configuration, a resolver, and the container select the active implementation. Adding a provider then requires only a new adapter, enum case, and resolver entry; domain models and use cases remain unchanged.

//go:fix inline and the source-level inliner

go.dev · 10 Mar

Go · Programming Languages · Software Architecture

Go 1.26 introduces a source-level inliner via the go fix command and //go:fix inline directive.

This 'self-service' tool automates API migrations by replacing function calls with their bodies. It handles complex edge cases like parameter elimination, side effects, shadowing, and constant expression safety to ensure code transformations remain behaviorally correct and tidy.

Show HN: Firefox in WebAssembly

developer.puter.com · 15 Jul

Frontend · Software Architecture · Open Source

This project showcases Firefox running entirely within a web browser tab using WebAssembly and the Gecko engine.

The browser interface is rendered via client-side code, while web content is securely proxied through a specialized Wisp server hosted by Puter, enabling a full desktop browser experience inside another browser window.

HTML over WebSockets: real-time SPAs with barely any JavaScript

en.andros.dev · 12 Aug

Backend · Frontend · Software Architecture

HTML over WebSockets offers a powerful alternative to traditional JSON-based SPAs.

By sending pre-rendered HTML snippets over persistent, bidirectional channels, developers can consolidate logic in the backend, eliminate API contracts, and simplify the tech stack. While powerful for real-time applications, it requires careful resource management, whereas SSE provides a lighter alternative for server-to-client updates.

MCP Explained

mcp-explained.com · 5 Nov

Artificial Intelligence · Software Architecture

MCP is an open standard connecting AI apps with the tools and data they use.

A Host such as Claude, Cursor, ChatGPT, or an agent displays a Server’s capabilities to the Model; the Model chooses an action, and the Host calls the Server and returns the result. The Model never connects directly. MCP uses JSON-RPC over stdin/stdout or a single HTTP endpoint, defining methods, capability negotiation, transports, and authentication.

FrontierCode

cognition.ai · 8 Jun

Artificial Intelligence · Large Language Models · Software Architecture

FrontierCode is a new benchmark designed to evaluate AI models on their ability to write high-quality, production-ready code.

Developed with expert open-source maintainers, it emphasizes mergeability by assessing correctness, test quality, style, and design patterns, setting a higher bar for coding agents beyond mere functional correctness.

AI doesn't generate working products, that's still your job

weeraman.com · 1 Aug

Artificial Intelligence · Generative AI · Software Architecture

AI has simplified rapid prototyping but not production-grade software development.

Building reliable systems still requires rigorous engineering judgment, architectural knowledge, and computer science fundamentals. AI acts as a force multiplier for experts, but relying on it without understanding leads to unmanageable code. Success lies in merging deep domain knowledge with modern AI tools.

I hate compilers

xeiaso.net · 18 Jun

C++ · Software Architecture · Testing

The author details the challenges of achieving reproducible builds when compiling WebAssembly for the Anubis project.

Obstacles like compiler time-stamping macros, hidden external dependencies like wasm-opt, and address-layout sensitivities in Clang caused non-deterministic binary output. The author implemented workarounds, including build environment constraints and specific checksum verifications to ensure consistency across architectures.

The Holy Grail of Linux Binary Compatibility: Musl and Dlopen

github.com · 26 Jan

Linux · Programming Languages · Software Architecture

This content explores the complex challenges of achieving Linux Binary Compatibility, particularly when developing graphical applications using Go and Godot.

While distributing CLI tools is relatively straightforward, hardware-accelerated graphics require interacting with vendor-specific dynamic libraries through the C ABI. The primary obstacle arises from the dependency on specific versions of libc, such as glibc. When a binary is built on a modern system, it often fails on older distributions or those using musl, like Alpine Linux. The author discusses using musl paired with dlopen and dlsym to dynamically load graphics drivers at runtime. This approach aims to create portable binaries that function across diverse Linux environments without being strictly bound to a single libc implementation, though implementation issues like SIGSEGV remain a hurdle.

AI code and software craft

alexwennerberg.com · 25 Jan

Software Architecture · Culture · Ethics

This essay explores the impact of AI on software engineering through the lens of Jacques Ellul's concept of 'technique' and the historical Arts and Crafts movement.

The author argues that modern software development has largely abandoned the pursuit of craft, beauty, and 'great work' in favor of optimizing metrics and 'engagement', much like the transition from curated music platforms like Bandcamp to algorithmic ones like Spotify. While AI models can efficiently produce 'good enough' code for narrow tasks, they lack a central understanding of quality and often generate verbose, unattractive, or buggy results. The author suggests that for non-conventional programming or high-level systems design, AI remains insufficient. Ultimately, the text calls for a revival of human-scale software craft, urging engineers to look beyond the dominant C/Unix/Web paradigm and restore a sense of creative dignity to programming as mass-produced AI content becomes ubiquitous.

Firefox 153 available with support for Vulkan video decoding, JPEG-XL

phoronix.com · 20 Jul

Linux · Software Architecture · Windows

Mozilla has released Firefox 153, the latest Extended Support Release (ESR).

Key updates include initial Vulkan Video decoding support for improved cross-platform hardware acceleration, experimental JPEG-XL format support, enhanced PDF functionality, and improved HDR video playback on Windows. This version focuses on providing long-term stability for enterprise and organizational users.

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