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

RacketCon Is Saturday

con.racket-lang.org · 3 Oct

Low-Level Programming · Open Source · Computer Science

RacketCon 2026 is a two-day gathering for the Racket community, featuring talks on type inference, low-level programming with Pille, macro-aware IDE services, floating-point accuracy, effect handlers, OOP, dataframes, and the new ffi2.

The event includes livestreaming, chat, recordings, social activities, and a town hall. Early registration is discounted before September 13.

Two-Stack Sliding-Window Aggregation

orlp.net · 2 Oct

Algorithms · Performance · Computer Science

The two-stack algorithm maintains sliding-window aggregates for associative operations without requiring an inverse.

It stores incoming values and their aggregate, while a second stack holds reverse cumulative aggregates for elements being removed; combining the two gives each window result in O(1) time. Rebalancing costs O(w) only periodically, yielding amortized O(1) per operation and O(w) memory. It supports minimum, quantiles, HyperLogLog, and more, while limiting NaN, infinity, and floating-point errors to windows containing them.

Learning athletic humanoid tennis skills from imperfect human motion data

zzk273.github.io · 15 Mar

Artificial Intelligence · Robotics · Computer Science

Researchers introduced LATENT, a system enabling humanoid robots to master dynamic tennis skills using imperfect human motion data.

By leveraging motion fragments rather than complete sequences, the policy learns primitive skills, corrects them for gameplay, and maintains natural styles. Successfully deployed on Unitree G1, it achieves robust sim-to-real transfer and sustains real-world rallies with humans.

I wanted a clock that never needed setting. Things escalated

arstechnica.com · 23 Jul

Hardware · Productivity · Computer Science

Frustrated by the manual maintenance required for traditional bedside clocks, the author decided to build a custom self-setting, precision clock.

Featuring a classic red seven-segment display, the device handles Daylight Saving Time automatically and removes the need for invasive apps, proving that a DIY approach can solve modern hardware annoyances effectively.

The surprising whimsy of the Time Zone Database

muddy.jprs.me · 6 Mar

History · Open Source · Computer Science

The IANA Time Zone Database is a critical piece of global infrastructure, yet it contains surprising historical anecdotes and whimsy.

While managing time zones is notoriously complex for developers, this open-source repository documents everything from military history to philosophical debates, proving that the technical systems we rely on are deeply rooted in human stories.

Answering your questions about Anthropic's lattice cryptography results

blog.trailofbits.com · 1 Dec

Cybersecurity · Encryption · Computer Science

Anthropic’s new quantum algorithms for module lattices do not currently break ML-KEM, ML-DSA, or FN-DSA.

They provide asymptotic improvements against structured lattices with extremely large power-of-two cyclotomic-ring degrees, unlike deployed schemes using degrees of 256, 512, or 1024. The attacks are impractical for standardized parameters, though researchers should reassess security and explore improvements. Implementers should take no immediate action, continue planned deployments, and maintain cryptographic agility.

16GB iPod Nano 3G Upgrade

tuckerosman.com · 24 Sept

Hardware · Low-Level Programming · Computer Science

After six years of reverse engineering and firmware patching, the author upgraded an iPod Nano 3rd Generation to 16GB.

Key fixes enabled support for 8KiB NAND pages while preserving 4KiB logical blocks, corrected multi-plane erase and ECC behavior, and resolved boot, memory, power, and partition issues. The project shows how emulation and hardware debugging made an otherwise incompatible storage upgrade work.

Amsterdam Compiler Kit

github.com · 14 Feb

Programming Languages · Open Source · Computer Science

The Amsterdam Compiler Kit (ACK) is a versatile toolchain supporting languages like ANSI C, Pascal, and Modula-2 across legacy and modern platforms.

This open-source project provides front-end compilers, code generators, and libraries, enabling development for systems ranging from CP/M and Minix to Linux and Raspberry Pi GPU.

Palomar: A registry of Lean verified mathematics

terrytao.wordpress.com · 18 Aug

Large Language Models · Programming Languages · Computer Science

Palomar, incubated by Lean FRO and ICARM, is now accepting snapshots of GitHub repositories containing Lean formalizations of mathematical results.

It mechanically checks that proofs typecheck and match declared claims using Comparator, while an LLM assesses semantic alignment with informal descriptions. Submissions may be human- or AI-generated, but Palomar is not peer-reviewed.

Artificial-life: A simple (300 lines of code) reproduction of Computational Life

github.com · 6 Mar

Algorithms · Python · Computer Science

This 300-line Python reproduction demonstrates the emergence of self-replicating programs from a grid of Brainfuck-like instructions.

Randomly initialized programs interact, concatenate, and execute, leading to an evolutionary process where efficient replicators eventually dominate the system. It visualizes computational life using uv and a pixel-based instruction mapping.

My Gripes with Prolog

buttondown.com · 14 Jan

Programming Languages · Software Architecture · Computer Science

In this critique of Prolog, the author outlines several frustrations encountered while preparing a new edition of Logic for Programmers.

Key issues include the lack of standardized support for strings and collection types beyond lists, which leads to cross-compatibility problems between implementations like SWI-Prolog and Scryer Prolog. The author highlights the absence of functions, forcing verbose syntax for simple arithmetic, and the confusing nature of 'Negation as Failure' and 'Cuts', which often result in unpredictable behavior during backtracking. Furthermore, the lack of native boolean values and the counter-intuitive behavior of the 'sort' predicate—which removes duplicates—are noted as major inconveniences. While acknowledging Prolog's unique power in bidirectionality, the author ultimately leans toward alternatives like Picat for a more modern experience.

Show HN: Reverse Minesweeper

sunflowersgame.com · 26 Jul

Algorithms · Computer Science

This guide details the difficulty tuning for Sunflowers, a grid-based logic puzzle.

Difficulty levels—Easy, Medium, Hard, Extreme, and Insane—are determined by specific move types like subsets and what-if chains. An automated engine verifies puzzles by mimicking human deduction, using sub-metrics, step-based time estimation, and strict rules for zero-clue squares to ensure consistent, balanced challenges.

The Magic of Partial Evaluation

jimmyhmiller.com · 18 Nov

JavaScript · Programming Languages · Computer Science

Partial evaluation executes known program parts at build time while preserving dynamic inputs, simplifying code and sometimes eliminating interpreters.

The article demonstrates this with factorial, arithmetic, Brainfuck, and schema validation, showing that specializing an interpreter with a program yields a compiled program—the first Futamura projection. Specializing the partial evaluator with an interpreter yields a compiler, and specializing it with itself yields a compiler generator. A limited JavaScript partial evaluator, split-shot, is implemented in Rust for experimentation.

Building a web server in aarch64 assembly to give my life (a lack of) meaning

imtomt.github.io · 8 May

Low-Level Programming · macOS · Computer Science

ymawky is a minimalist, static HTTP web server written entirely in aarch64 assembly for macOS.

It bypasses libc, using raw Darwin syscalls to handle core networking, file I/O, and HTTP methods. This educational project demonstrates low-level systems programming, focusing on manual request parsing, process isolation via fork(), and security hardening without high-level abstractions.

Lil' Fun Langs

taylor.town · 20 Feb

Programming Languages · Open Source · Computer Science

This comprehensive guide explores minimalist ML-family programming language implementations, ranging from 60-line interpreters to complex bootstrappable compilers.

It categorizes projects by lines of code, host language, and features like Hindley-Milner inference, algebraic data types, and pattern matching. Key highlights include MinCaml, Algorithm W, and MicroHs, serving as foundational resources for compiler design and type theory.

[2610.29162v1] Why is AI-generated language so hard to understand?

arxiv.org · 11 Nov

Artificial Intelligence · Large Language Models · Computer Science

AI-generated language is harder for humans to process because modern models use more psycholinguistically difficult structures than human writers or round-trip-translation paraphrases.

Across nine frontier and near-frontier models, researchers found more inanimate subjects with animate verbs and low-frequency n-grams; most also used longer dependencies, stacked nouns, and reduced object relatives in conversation, with substantial family variation. They argue optimization for math, code, and reasoning favors information density over communication, supported by length-penalty fine-tuning.

Stabilizing Rust's Never Type

lwn.net · 8 Sept

Programming Languages · Computer Science

Rust 1.99 stabilizes the never type (!), enabling better optimization and simpler type inference.

Infallible becomes an alias for !, but changed fallback behavior can break code that relied on inferred (). Extensive crater testing found limited real-world impact; users can update dependencies, add explicit types, or remain on Rust 1.98.

What Happens When the World is Run on Code No One Understands?

time.com · 20 Aug

Artificial Intelligence · Cybersecurity · Computer Science

AI is producing mathematical discoveries and code faster than humans can verify them, making validation the new bottleneck.

The article argues that formal verification—mathematical proofs linking code to precise specifications—can make AI-generated software safer, especially in critical infrastructure. It calls for U.S. investment in verified libraries, standards, education, and rigorously specified systems.

D Programming Language

dlang.org · 12 Feb

Programming Languages · Open Source · Computer Science

D is a high-performance, statically typed systems programming language with C-like syntax.

It prioritizes efficiency and productivity by offering automatic memory management through garbage collection, powerful template metaprogramming, and native C integration. D supports multiple paradigms including functional, imperative, and object-oriented programming for scalable software development.

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