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 · 767 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

What VP != VNP Means (In 3 Minutes)

friedgil.com · 24 Nov

Algorithms · Mathematics · Computer Science

The VP ≠ VNP result shows that no arithmetic circuit of polynomial size can compute the permanent using only addition and multiplication, unlike the determinant, which Gaussian elimination computes in polynomial time.

The permanent removes the determinant’s subtraction and is hard to compute; for 0–1 matrices, it is NP-hard and #P-complete. This does not prove P ≠ NP, but implies that any polynomial-time permanent algorithm would need a fundamentally different approach, such as Boolean AND/OR/NOT operations.

UNIX V4 workshop at Low Resource Computing

github.com · 27 Aug

Low-Level Programming · Operating Systems · Computer Science

At Dartmouth’s Low Resource Computing 2026 workshop, participants collaboratively used a reconstructed UNIX V4 system recovered from a 1974 tape.

The session replicated period computing with ed, teletypes, 32 terminal connections, and printed manuals. Attendees modified the kernel, explored historical quirks, played games, and backported an obfuscated C program, demonstrating early UNIX’s technical constraints and ingenuity.

Size matters, even on very fast connections

maurycyz.com · 6 Apr

Frontend · Performance · Computer Science

This article explains how TCP congestion control, specifically the 'slow start' mechanism and congestion window, limits initial data transfer.

Because TCP starts with a small window, the first RTT typically delivers around 13 kB. Developers should optimize websites to deliver critical content within this initial threshold to ensure rapid page rendering.

Allocators from C to Zig

antonz.org · 12 Feb

Low-Level Programming · Programming Languages · Computer Science

This overview explores memory allocation across systems languages including Rust, Zig, Odin, C3, and Hare.

It details how modern languages treat allocators as first-class citizens with explicit control, compared to C's traditional libc approach. The article concludes by demonstrating how to implement a modern, interface-based allocator system in C to improve flexibility and error handling.

Programming Aphorisms

matklad.github.io · 11 Feb

Design Patterns · Programming Languages · Computer Science

The author explores 'programming aphorisms'—a vocabulary of reusable patterns—by deconstructing a Zig coding problem.

By applying techniques like raising abstraction levels, avoiding midlayer mistakes, and using positional dependency injection, the post illustrates how software engineering knowledge evolves through active recall and the horizontal transfer of concepts across different development domains.

Computers can be understood

blog.nelhage.com · 9 Feb

Career · Software Architecture · Computer Science

The author explores a fundamental software development philosophy rooted in the belief that computers and software systems are essentially comprehensible.

Rather than treating complex systems like the Linux kernel or high-level frameworks as 'black boxes,' the author advocates for a mindset of determined curiosity. By understanding layers of abstraction, reading source code, and building detailed mental models, engineers can significantly improve their debugging, security, and performance optimization skills. While the post highlights strengths like 'single-shot debugging,' it also warns of pitfalls, such as an obsessive need to understand every detail that can hinder productivity in time-sensitive environments. Ultimately, the text encourages developers to cultivate curiosity and view the deep layers of technology not as magic, but as logical, deterministic systems that can be mastered over time.

10 Years of Wasm: A Retrospective

bytecodealliance.org · 30 Jan

History · Open Source · Computer Science

This retrospective traces the decade-long journey of WebAssembly (Wasm) from a repository commit in 2015 to its current status as a foundational web technology.

It highlights the evolution from Mozilla's asm.js and Google's PNaCl to a unified binary format supported by the four major browser engines: Chrome, Firefox, Edge, and Safari. The article explores the critical design decisions, such as the trusted call stack and sandboxing, that enabled Wasm to move beyond the browser into cloud computing, serverless environments, and embedded systems via WASI and the Component Model. Looking forward, the creators discuss Wasm's potential in securing AI-generated code and industrial automation, emphasizing its role as a cross-platform execution environment that bridges the gap between different programming languages and hardware architectures.

Rust Function Overloading - Call for Experimentation

blog.rust-lang.org · 30 Aug

Programming Languages · Open Source · Computer Science

The Rust Project is experimentally adding ergonomic function overloading through the unstable nightly `splat` feature, enabling separate arguments while retaining tuple-and-trait type checking.

Developed with the Rust-C++ Interop Initiative, it targets easier C++ FFI bindings. The experiment remains incomplete, may change or disappear, and will inform future syntax, diagnostics, and interoperability designs.

Building a passive Ethernet tap

blog.lvmbdv.dev · 1 Jul

Cybersecurity · Hardware · Computer Science

A maker built an affordable passive Ethernet tap using mini breadboards and RJ45 breakout boards.

By forcing a 100 Mbps connection, the device allows for transparent sniffing of network traffic without injecting noise. The author successfully monitored their smart TV, revealing frequent SSDP and mDNS discovery broadcasts while proving the DIY build's signal integrity.

You can use newline characters in URLs

lemire.me · 28 Feb

Frontend · HTML · Computer Science

Daniel Lemire explores the flexibility of the WHATWG URL specification regarding whitespace.

Browsers ignore ASCII tabs and newlines in standard URLs, though they trigger validation errors. Data URLs, including Base64-encoded images and SVG, offer even greater freedom, allowing various whitespace characters for improved readability without breaking functionality in modern web browsers.

Binding port 0 to avoid port collisions

ntietz.com · 23 Feb

Backend · Testing · Computer Science

The article discusses how binding to port 0 enables the kernel to assign an available ephemeral port, effectively preventing port collisions in concurrent end-to-end testing.

This technique is more reliable than using random or incremental ports, as it leverages the kernel's system state to ensure successful, unique listener addresses.

open-source-games: A list of open source games

github.com · 16 Feb

News · Open Source · Computer Science

This comprehensive collection highlights open-source video games and modern remakes of classic commercial titles.

It covers diverse genres including RPGs, RTS, and FPS, featuring projects like OpenMW, OpenRA, and ScummVM. These initiatives preserve gaming history through reverse engineering, engine re-implementations, and community-driven development across multiple platforms and technologies.

Why Markdown emphasis fails in CJK: A deep dive into CommonMark's delimiter rules

hackers.pub · 6 Jan

Large Language Models · Software Architecture · Computer Science

The rise of LLM outputs has highlighted a long-standing flaw in the CommonMark specification regarding unrendered Markdown emphasis markers.

This issue stems from the concept of delimiter runs, which are classified as left-flanking or right-flanking based solely on immediate surrounding characters. In CJK (Chinese, Japanese, Korean) environments, punctuation is often used within words, which conflicts with CommonMark's rigid rules. For instance, markers following a parenthesis but preceding a letter fail to close, leaving raw syntax visible to users. While these rules were originally intended to support nested emphasis and resolve ambiguity, they often fail to account for the linguistic nuances of non-Western languages. As LLMs generate content based on human usage patterns rather than strict technical specifications, this technical debt has become a significant source of frustration, necessitating a re-evaluation of how Markdown is parsed globally.

kip: A programming language based on grammatical cases of Turkish

github.com · 28 Jan

NLP · Programming Languages · Computer Science

Kip is an experimental programming language that uniquely integrates Turkish natural language morphology and grammatical cases into its type system.

By leveraging suffixes and vowel harmony, the language allows for flexible argument ordering in function calls, as the relationships are explicitly defined by noun cases like nominative, dative, and accusative. Specifically, Kip utilizes the Foma finite-state morphology toolkit and the TRmorph transducer to analyze source code. This research-oriented project demonstrates how linguistics and type theory can intersect by resolving parsing ambiguities through type checking. It features support for algebraic data types, pattern matching with specific conditional suffixes, and a bytecode cache system stored in .iz files. While not intended for production usage, it serves as an educational tool for exploring non-Western paradigms in computer science and language design.

An Introduction to Bε-trees and Write-Optimization

usenix.org · 2 Nov

Algorithms · Database · NoSQL · Performance · Computer Science

Bε-tree is a write-optimized data structure for organizing on-disk storage in databases and file systems.

It offers a key-value API like B-tree, with improved performance especially for inserts, range queries, and key-value updates. The article explains how Bε-tree works, compares its asymptotic performance with B-tree and Log-Structured Merge trees (LSM-trees), reports real-world measurements, and outlines how applications can maximize its performance.

Unicode 18.0.0

unicode.org · 16 Sept

Algorithms · Database · Computer Science

Unicode 18.0, announced as a preliminary September 2026 release, adds 13,007 characters, reaching 172,808, including Proto-Cuneiform numerals, Jurchen, and Seal scripts.

It updates the Unicode Character Database, code charts, conformance rules, segmentation, collation, security, emoji, and linkification standards. Developers should review migration guidance for changed properties, algorithms, variation sequences, and CJK data.

Lindenmayer Systems

justinpombrio.net · 16 Feb

Algorithms · Rust · Computer Science

Exploring Lindenmayer systems (L-Systems), this content demonstrates how recursive string replacement rules combined with Logo-style turtle graphics create complex fractal patterns like the dragon curve, Koch snowflake, and space-filling curves.

Implemented as a Rust library, it showcases various mathematical visualizations and provides source code for generating these intricate geometric images.

Começando com Redes: Camadas de uma conexão TCP/IP

dev.to · 24 Jul

Career · Computer Science

This guide covers the importance of networking for developers, detailing the TCP/IP model.

It explains that as seniority increases, networking knowledge is essential for autonomy in cloud and architecture. The content defines IP and TCP, breaks down the four layers of the TCP/IP model, and describes data packets.

Bastion of the Turbofish

github.com · 11 Sept

Programming Languages · Testing · Computer Science

This Rust test case, titled “Bastion of the Turbofish,” humorously demonstrates a syntactic ambiguity involving generic arguments written without Rust’s turbofish syntax.

The code must continue to compile successfully, memorializing Anna Harren and documenting the language-design debate through linked Rust pull requests and an RFC.

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