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

Carnegie Mellon's School of Computer Science is putting full classroom lectures from its faculty on YouTube for free

cs.cmu.edu · 30 Nov

Education · Computer Science

Carnegie Mellon’s School of Computer Science is publishing full faculty classroom lectures for free on YouTube through CS Learn.

Current courses cover Machine Learning with Large Datasets, AI Agents, Machine Learning Systems, Software Architectures and others; additional courses are scheduled for January 2027. The initiative will next add self-paced courseware based on CMU classes, with instant feedback, badges and planned AI tutoring.

The Art of CHIP-8

beyondloom.com · 14 Aug

Low-Level Programming · Programming Languages · Computer Science

A practical guide to programming CHIP-8 explains its 34-instruction virtual ISA, tight memory and hardware constraints, Octo syntax, and portability hazards caused by divergent interpreters.

It recommends conservative register, memory, graphics, input, timing, and control-flow practices, while showcasing self-modifying code and optimization techniques. CHIP-8 remains an accessible gateway to emulator and bare-metal programming.

qr-swastika-avoider v0.1.0

crates.io · 14 Jul

Frontend · JavaScript · Computer Science

Enabling JavaScript is mandatory for the proper functionality of this website.

Disabling it may prevent certain features from loading or cause the page to display incorrectly, as JavaScript is essential for modern web interactivity and dynamic content rendering.

Semi-retirement, or, really, changing my relationship with the BSDs

briancallahan.net · 22 Mar

Cybersecurity · Operating Systems · Computer Science

OpenBSD developer and professor Dr. Brian R.

Callahan shares research evaluating the effectiveness of ROP (Return-Oriented Programming) mitigation techniques. His study indicates that previously claimed benefits of these mitigations are statistically modest and occasionally flawed, questioning the utility of 'unique gadget' counts for measuring security. Consequently, Callahan is stepping back from OpenBSD development to focus on systematic, independent academic research on BSD security.

Choosing a Language Based on its Syntax?

gingerbill.org · 19 Feb

Programming Languages · Software Architecture · Computer Science

The author critiques developers who judge programming languages by declaration syntax or semicolons rather than semantics.

Using the Odin language as an example, the text argues that syntax should serve ergonomics and clarity. Experienced programmers prioritize denotational semantics, while syntax-based biases often stem from first-exposure effects rather than technical limitations.

It is incorrect to “normalize” // in HTTP URL paths

runxiyu.org · 27 Jan

Backend · Software Architecture · Computer Science

The text argues that collapsing double slashes (//) into a single slash (/) within HTTP URL paths is not a valid form of normalization according to RFC 3986 and RFC 9110.

It explains that the ABNF grammar for paths allows for empty segments, meaning // represents a syntactically meaningful zero-length segment. Standard syntax-based normalization only includes case folding, percent-encoding normalization, and dot-segment removal. The author demonstrates that since path segments are considered opaque, altering them changes the resource identifier. This is exemplified in specific Git implementations where a double-slash sentinel is used to distinguish between repository paths and internal file hierarchies, showing that merging slashes can lead to resolution failures and unintended behavior in server-side routing.

Typeclasses vs Modules

sm2n.ca · 1 Oct

Programming Languages · Software Architecture · Computer Science

The article distinguishes typeclasses, which primarily provide ad-hoc polymorphism and convenient type-based dispatch, from modules, which provide modular abstraction, encapsulation, and compositional program decomposition.

Although each can emulate aspects of the other, typeclasses suit programming in the small, while modules better support programming in the large. The author argues language design should prioritize modular abstraction.

an ambiguity in c89 which will never be fixed

sebsite.pw · 10 Aug

C · Programming Languages · Computer Science

The C89 standard contains ambiguous language regarding implicit function declarations, leading to conflicting implementations in GCC and Clang.

The core issue involves whether these declarations occur within function prototype scope or block/file scope. Because this feature was removed in C99, the inconsistency remains unresolved, serving as a reminder to avoid legacy C89 standards.

The Most Important Software Innovations

dwheeler.com · 18 Mar

History · Open Source · Computer Science

This analysis clarifies the history of computing by distinguishing between genuine software innovations and mere hardware, product, or legal milestones.

It argues that software innovation is an incremental, long-term process often hampered by patents, rather than a rapid series of 'Eureka' moments. The work emphasizes that open source practices and vendor-independent standards are crucial for sustainable technological progress.

A tale of four theorem provers, or: A (reasonably) opinionated comparison of Isabelle/HOL, Lean, HOL4, and Agda

blueberrywren.dev · 9 Oct

Mathematics · Computer Science

The author formalized Euclid’s proof of infinitely many primes in Isabelle/HOL, Lean, HOL4, and Agda, comparing their foundations, interactivity, automation, documentation, and proof effort.

Isabelle/HOL and HOL4 offered the strongest automation, Lean provided moderate automation, and Agda required the most manual work but enabled constructive prime generation. Rankings favored Isabelle/HOL for proof discovery, Agda for manipulation, HOL4 for enjoyment and overall quality, and Agda for predictability despite its verbosity and slowness.

Refinement E-Graphs

philipzucker.com · 4 Oct

Algorithms · Programming Languages · Computer Science

Refinement e-graphs extend e-graphs with a native, transitive and reflexive `<=` relation alongside equality, targeting compiler rewrites that refine underspecified programs into executable ones.

A prototype based on Max Willsey’s microegg supports inequality union-find, variance-aware refinement closure, e-matching, and extraction. Its “don’t care” circuit example models terms as sets of Boolean results, allowing independent choices at each use. The approach is simple but less efficient and potentially incomplete than equality-based processing.

Why false sharing alignment should be 128 bytes on x64

monoid.github.io · 7 Jul

Distributed Systems · Performance · Computer Science

False sharing occurs when independent variables reside on the same cache line, causing CPUs to repeatedly fight for cache coherence.

This degrades performance significantly. Aligning data structures to cache line boundaries—often 64 or 128 bytes—mitigates this, though effectiveness varies across architectures like Skylake, Ice Lake, and Apple Silicon, highlighting the complexity of modern cache behavior.

IrDA

computer.rip · 11 Apr

Hardware · History · Computer Science

IrDA was a popular 1990s wireless protocol using infrared light for short-range data transfer.

Developed from HP’s calculator printing protocols, it evolved into a standardized stack including IrLAP, IrLMP, and OBEX. While capable and widely adopted in devices, it was ultimately displaced by the superior convenience and multi-point capabilities of Bluetooth and Wi-Fi.

Applying "Programming Without Pointers" to an mbox indexer using Zig

simonhartcher.com · 8 Apr

Performance · Programming Languages · Computer Science

The author demonstrates applying the 'Programming without pointers' (PWP) pattern in Zig to optimize an mbox file indexing tool.

By refactoring data structures to move from 30,000 individual memory allocations to only two, the author significantly improves performance and resource efficiency, showcasing the impact of minimizing allocations in high-performance software development.

Hoot 0.8.0 released! - Scheme in WASM

spritely.institute · 3 Mar

Programming Languages · Open Source · Computer Science

The Spritely Institute has released Hoot 0.8.0, its Scheme to WebAssembly compiler and toolchain.

Key updates include a new built-in REPL for live hacking, Emacs support via geiser-hoot, a new command-line development tool, and enhanced web server capabilities. The release also improves Wasm validation and expands compatibility with modern browsers.

Lilaq: Advanced data visualization in Typst

lilaq.org · 3 Mar

Productivity · Open Source · Computer Science

Lilaq is a specialized plotting library designed for Typst, enabling the creation of publication-ready graphics.

It offers real-time previews, seamless integration with Typst documents, and consistent styling via Zero. The tool is easy to learn yet highly configurable, making it suitable for high-quality technical documentation and academic publishing.

The State Of Garnet, 2026

wiki.alopex.li · 31 Jan

Low-Level Programming · Programming Languages · Computer Science

The State of Garnet 2026 report outlines the development of a low-level, borrow-checked programming language designed as a simpler alternative to Rust.

Key updates include progress on a new type checker based on System F and research into integrating the 1ML research language principles to handle generics and traits as plain structs. The author detailed advancements in pattern matching through a unique conditional syntax and the implementation of 'properties' - a form of effect types used to prove code characteristics like panic-freedom. Despite facing significant complexity in type theory and undergoing multiple rewrites, the project continues to focus on pragmatism by favoring explicit annotations over global type inference and avoiding subtyping to maintain robustness and speed.

80% of Rye in 20% of the Time [1/3]

ryelang.org · 11 Jan

Programming Languages · Open Source · Computer Science

Rye is a dynamic, homoiconic programming language inspired by Rebol, Factor, Shell, and Go.

It distinguishes itself through a flexible syntax paired with strict state management, featuring no Null values and a constant-by-default philosophy. Every active element in Rye behaves as a function, and the language lacks traditional keywords. This introductory guide provides a fast-paced overview of Rye's literal values, constructed types like tables and dicts, and its unique word types which determine evaluation behavior. By focusing on practical code examples, the guide demonstrates how Rye utilizes multiple evaluators and built-in functions to handle logic and data manipulation without special forms. Key features highlighted include its rich set of 49 value types, hierarchical context evaluation, and comprehensive functional built-ins for everything from basic math to JSON parsing.

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