Topic

Computer Science

Computer science discussions covering algorithms, data structures, computational theory, and CS education from developer communities.

What this topic tracks

  • Engineering practices and ecosystem debates
  • Tools, architecture, and implementation lessons
  • Relevant discussions from developer communities

Computer Science · 766 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

Introduction to Genomics for Engineers

learngenomics.dev · 2 Jul

Data Science · Science · Computer Science

This guide introduces computer scientists to eukaryotic genomics, using a bakery analogy to explain how DNA encodes genes, which produce proteins to sustain cellular function.

It covers DNA structure, chromosomes, and the genome, framing the biological data as a massive search space essential for understanding human health, genetic disease, and personalized medicine.

Stephen's Sausage Roll remains one of the most influential puzzle games

thinkygames.com · 18 Apr

News · History · Computer Science

Stephen's Sausage Roll, a legendary sokoban game by Stephen Lavelle, marks its 10th anniversary.

Known for its minimalist design and deep, challenging puzzles using few mechanics, it significantly influenced the modern puzzle game landscape. Creators credit the game and Lavelle's PuzzleScript for shaping their design philosophies and inspiring a new generation of sophisticated 'thinky' puzzle titles.

Mathematicians disagree on the essential structure of the complex numbers

infinitelymore.xyz · 10 Feb

Philosophy · Mathematics · Computer Science

This essay explores the philosophical and mathematical debate regarding the essential structure of complex numbers.

The author identifies four perspectives—analytic, smooth, rigid, and algebraic—which ultimately boil down to three distinct structural conceptions. These conceptions differ primarily in their symmetry and automorphism groups, ranging from the complex plane, which has no nontrivial automorphisms, to the algebraic complex field, which admits a chaotic group of wild automorphisms. The text addresses the indiscernibility of i and –i, arguing that they play identical roles in the complex field structure, which challenges certain versions of mathematical structuralism. Furthermore, it discusses the technical impossibility of interpreting the real field within the algebraic complex field and explores set-theoretic indiscernibility using ZFC models. The author concludes that while mathematicians often favor one view, the complex numbers are appropriately viewed through all three lenses, as each serves a unique purpose in mathematical practice and foundations.

Crafting Interpreters

craftinginterpreters.com · 1 Jan

Programming Languages · Education · Computer Science

Crafting Interpreters is a comprehensive guide designed for developers who want to master the art of building a custom programming language from scratch.

The book covers essential topics including parsing, semantics, bytecode representation, and garbage collection. By following the text, readers build a fully functional scripting language that supports dynamic typing, lexical scope, first-class functions, and object-oriented features like classes and inheritance. The curriculum ensures developers understand every line of code, moving from high-level architectural concepts to low-level implementation details in a structured, hands-on manner. It is available in various formats, including print and a free web version.

Why medieval city-builder video games are historically inaccurate (2020)

leidenmedievalistsblog.nl · 1 May

History · Economics · Computer Science

This analysis explores the historical inaccuracies prevalent in medieval city-builder video games, such as the Settlers and Anno series.

While these games typically emphasize linear and organic growth, historical reality suggests that medieval settlements were planned from their inception and often remained demographically stable due to subsistence challenges and feudal skimming. The author argues that games often overlook the complexities of land ownership, crop rotation, and the heavy burden of tithes and taxes. Incorporating non-linear development, environmental risks like flooding, and realistic tax collection mechanics could enhance historical flavor. However, developers often prioritize rewarding gameplay loops and recognizable stereotypes over historical precision, resisting changes that might challenge popular, romanticized perceptions of pre-industrial village life.

A decades-old bug in Knuth's long division (TAOCP Vol II, Algorithm 4.3.1D)

kolja.rs · 13 Aug

Algorithms · Low-Level Programming · Computer Science

An investigation of Knuth’s multiprecision Algorithm D finds a decades-old correctness bug: using a full two-limb quotient in odd bases can leave the trial quotient oversized after two corrections.

The smallest counterexample is base 3. LLVM’s implementation has a stale comparison typo but remains correct; the post also previews faster division methods.

The Art of 64-bit Assembly

nostarch.com · 1 Aug

C++ · Low-Level Programming · Computer Science

The Art of 64-Bit Assembly offers an in-depth exploration of low-level programming on Windows.

By rebuilding high-level constructs from C++, Python, and Rust in MASM, the book explains how objects, exceptions, coroutines, and concurrency function at the instruction level, moving beyond surface-level AI explanations to provide genuine architectural understanding.

C++ std::move doesn't move anything: A deep dive into Value Categories

0xghost.dev · 9 Dec

C++ · Performance · Computer Science

In modern C++, std::move is often misunderstood; it does not physically move memory but is instead a static_cast that converts an expression into an xvalue, signaling the compiler that resources can be 'stolen' via a Move Constructor.

This article explores the critical performance implications of move semantics, highlighting common pitfalls like 'pessimization' (using std::move on return values which breaks Named Return Value Optimization), and the 'silent copy' (attempting to move from const objects). It emphasizes the necessity of the noexcept keyword in Move Constructors to maintain the strong exception guarantee in containers like std::vector. The guide also covers the 'Rule of Five,' the usage of std::exchange for idiomatic ownership transfer, and differentiates std::move from std::forward in the context of perfect forwarding. Finally, it touches on advanced topics like trivial relocation and the evolution of move semantics in C++20 and C++23.

The Olivetti Company

abortretry.fail · 8 Dec

Hardware · History · Computer Science

This historical profile explores the legacy of the Olivetti company, originating in Ivrea, Italy.

Founded by Camillo Olivetti in 1908, the firm transitioned from a pioneer in high-quality, aesthetically designed typewriters like the M1 and M20 to a frontrunner in early computing. Under the leadership of Adriano Olivetti and the technical brilliance of Mario Tchou, the company produced the ELEA 9003, one of the first transistorized mainframes. Despite financial instabilities and the sudden deaths of key leaders, Olivetti innovated through the Programma 101, often cited as the first personal computer, and the M24, a successful IBM-compatible PC marketed in the USA through AT&T. The narrative details the company's evolution through the microcomputer era and its eventual transformation into a telecommunications entity following a merger with Telecom Italia.

The Strongest Sokoban Solver

healeycodes.com · 16 Nov

Algorithms · Go · Performance · Computer Science · AI Agents

Soksolv is presented as the strongest published Sokoban solver, solving more levels than rivals across the Large and Open Test Suites, including 24 world-first automated solves, while taking about 3.2× less aggregate time on shared levels.

Its Go implementation uses bidirectional search, FESS, novelty search, deadlock pruning, factoring, relays, and concurrent forward/backward lanes sharing positions. It stays within 15 GB and eight cores, and was developed through Claude Code with roughly 430 subagents and 15,000 vCPU-hours of research and benchmarking.

Recursive self-improvement through collective intelligence

pub.sakana.ai · 11 Oct

Artificial Intelligence · Large Language Models · Machine Learning · Computer Science · AI Agents

MASS is a homogeneous recursive self-improvement (RSI) method that searches for effective multi-agent workflows, ranks their outputs, and fine-tunes the shared model on selected orchestrator and subagent trajectories.

Starting from Qwen3.6-27B, two rounds improved win rate against the base from 53.9% to 69.9% on held-out synthetic research tasks and raised score per output token to 1.2–1.6× on four research benchmarks, while coding transfer remained below baseline. Results indicate optimizer quality and independent oversight remain critical.

What VP ≠ VNP Means (In 3 Minutes)

friedgil.com · 24 Nov

Algorithms · Mathematics · Computer Science

Anthropic’s proof that VP≠VNP implies the permanent cannot be computed by arithmetic circuits of polynomial size using only addition and multiplication, unlike the determinant, which Gaussian elimination computes in polynomial time.

The permanent is the determinant’s subtraction-free analogue and is hard to compute even for 0–1 matrices (#P-complete). Thus, if P=NP, any efficient permanent algorithm would need a Boolean-operator trick beyond these arithmetic circuits.

NP-Overrated

gruhn.me · 13 Aug

Algorithms · Performance · Computer Science

NP-hardness is widely misunderstood as practical impossibility.

While worst-case inputs can cause exponential blowups, real workloads often avoid them, and heuristics or improved algorithms frequently deliver optimal or scalable solutions. Dependency resolution, type checking, scheduling, Traveling Salesman, and SAT/SMT demonstrate this; Amazon reportedly solves a billion SMT problems daily. Timeouts handle failures.

KDE at 30

kde.org · 1 Jun

Linux · Open Source · Computer Science

KDE is celebrating its 30th anniversary, marking three decades of community-driven Free Software focused on privacy and user control.

The project is commemorating this milestone through global events, fundraising initiatives to ensure future sustainability, and environmental campaigns. KDE's legacy includes foundational contributions to modern web engines like WebKit and long-standing impact in specialized technical fields.

Show HN: An agent skill that optimizes code with falsifiable hypotheses

chszlab.github.io · 23 Nov

Artificial Intelligence · Algorithms · Performance · Computer Science · AI Agents

Agentic Algorithm Engineering (AAE), a Claude Code and Codex skill from Heidelberg University, autonomously optimizes existing code through a cycle of falsifiable hypotheses, analysis, minimal Git patches, experiments, and correctness checks.

Reported results include 8.9× faster VieCut, 3.9× faster KaHIP kaffpa, and 3.0× faster Hochbaum’s pseudoflow, while preserving validated outputs or quality. Each accepted change produces a reviewable numbered patch and the session generates a PDF report; one KaHIP session ran 122 experiments and accepted 41 patches.

Go Analysis Framework: modular static analysis by go team

pkg.go.dev · 26 Jul

Programming Languages · Testing · Computer Science

The Go analysis package provides a modular framework for static analysis.

It defines an interface for 'Analyzers' that inspect Go code, report diagnostics, and share information across packages via 'Facts'. This design supports integration with various tools like IDEs, build systems, and command-line utilities, enabling extensible and scalable code checking throughout the Go ecosystem.

Building an FPGA 3dfx Voodoo with Modern RTL Tools

noquiche.fyi · 22 Mar

Hardware · Open Source · Computer Science

A developer successfully reimplemented the 3dfx Voodoo 1 GPU on an FPGA using SpinalHDL.

The project highlights how modern RTL tools allow one person to manage complex, fixed-function hardware by encoding architectural register semantics directly into code and using netlist-aware debugging tools like conetrace to trace data path inaccuracies at a high level of abstraction.

Tested: How Many Times Can a DVD±RW Be Rewritten? Methodology and Results

goughlui.com · 7 Mar

Hardware · Testing · Computer Science

A comprehensive longevity study test of DVD±RW media using automated Python scripts and Opti Drive Control.

The experiment evaluated various brands at different write speeds, finding that most discs fail to reach the advertised 1000-cycle limit. Only a TDK 2x DVD-RW surpassed 1000 cycles, while high-speed and certain plus-format discs showed significant early degradation.

RE#: how we built the fastest regex engine in F#

iev.ee · 1 Mar

Algorithms · Programming Languages · Computer Science

RE# is a new general-purpose regex engine built in F# and presented at POPL 2025.

It reintroduces boolean operators (intersection, complement) and context-aware lookarounds while maintaining O(n) search-time complexity. Utilizing Brzozowski derivatives, minterm compression, and lazy DFA construction, it outperforms traditional engines on large-scale benchmarks and provides reliable security against ReDoS attacks.

Where it came fromHacker NewsLobstersCreate a Snapbyte.dev digest and choose Computer Science as one of your topics.Build your digest