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

Inside the M4 Apple Neural Engine, Part 1: Reverse Engineering

maderix.substack.com · 28 Feb

Hardware · Performance · Computer Science

Researchers successfully reverse-engineered the Apple M4 Neural Engine (ANE), bypassing CoreML to access hardware directly.

Using private frameworks like AppleNeuralEngine.framework, they mapped the software stack, cracked the E5 binary format, and discovered in-memory MIL compilation. Their findings reveal the ANE as a graph execution engine optimized for high-throughput streaming inference.

The time I didn't meet Jeffrey Epstein

scottaaronson.blog · 1 Feb

News · Ethics · Computer Science

Scott Aaronson discusses his unexpected inclusion in the Jeffrey Epstein files despite never having met or corresponded with the financier.

The documents reveal that in 2010, an intermediary named Charles Harper attempted to broker a meeting regarding a research project titled 'Cryptography in Nature.' Aaronson recount how he initially entertained a deli meeting with the intermediary but ultimately followed his mother's warning about Epstein's shady reputation. The files even include a bizarre proposal to theme a conference around Aaronson's age, suggesting he would soon be past his intellectual prime as he entered his 30s. Aaronson highlights the importance of his family's skepticism and the common occurrence of financiers pitching half-baked ideas in the tech and quantum research space.

Booting from a vinyl record (2020)

boginjr.com · 19 Nov

Hardware · Low-Level Programming · Computer Science

This technical project demonstrates a unique method of booting an original IBM PC, model 5150, using an analog record player.

By utilizing the often-forgotten built-in cassette interface, the author created a custom ROM bootloader that reads digital data stored as audio on a 10-inch vinyl record. The record contains a 64K RAM drive image featuring a modified FreeDOS kernel, a micro variant of COMMAND.COM, and INTERLNK for file transfers. To ensure successful data modulation via the cassette modem, specific signal adjustments were made through a vintage Harman&Kardon amplifier to manage RIAA equalization. The experiment highlights the flexibility of early PC hardware and the intersection of analog audio technology with legacy computing systems, proving that data can be reliably retrieved from unconventional storage media if signal integrity is maintained.

Why Tiny JPEGs Look Different in Chrome

guillaumetech.github.io · 12 Aug

Algorithms · Performance · Computer Science

Chrome optimizes JPEG rendering at small sizes using partial IDCT scaling via libjpeg-turbo.

Instead of decompressing a full-resolution image, it decodes only the low-frequency data necessary for smaller scales. While efficient, this optimization can cause visual artifacts in icons, leading to the conclusion that JPEG is unsuitable for non-photographic graphical assets.

Tiny Emulators

floooh.github.io · 12 Jul

UI · History · Computer Science

Tiny Emus is a collection of retro computing emulators for various 8-bit platforms, including Commodore, Amstrad, ZX Spectrum, and Robotron systems.

The project provides web-based access to classic software, demos, and games, highlighting historical hardware through browser-based interfaces.

Doom entirely from DNS records

github.com · 23 Mar

Cloud Computing · PowerShell · Computer Science

Researchers have successfully ported DOOM to run entirely off DNS TXT records.

By splitting game data and binaries into nearly 2,000 chunks stored in Cloudflare DNS, a custom PowerShell script fetches and executes the game in memory. This proof-of-concept leverages DNS lookup protocols beyond their intended design, bypassing local disk usage entirely.

Eye of Sauron: Long-Range Hidden Spy Camera Detection

usenix.org · 7 Oct

Cybersecurity · Hardware · Computer Science

ESauron is a proof-of-concept system that detects and locates wireless, wired, and offline spy cameras from long range by sensing electromagnetic radiation (EMR) generated by their inbuilt memory during video processing.

Deliberately changing the scene triggers encoding and compression bursts, increasing memory activity and producing detectable EMR patterns. Tests on 50 camera products detected every spy camera with 100% accuracy after four stimuli, worked beyond 20 meters despite blockages, and accurately pinpointed locations.

PlayStation Architecture

copetti.org · 3 Jun

Hardware · Performance · Computer Science

This analysis details the technical architecture of the Sony PlayStation (PS1), focusing on its MIPS-based CPU, custom LSI-manufactured logic, and specialized components like the GTE and MDEC.

It covers internal operations, graphics rendering, memory management, and CD-ROM copy protection mechanics, illustrating how Sony achieved a competitive 3D-capable console through clever software-hardware optimization.

Incremental – A library for incremental computations

github.com · 21 Jul

Performance · Software Architecture · Computer Science

Incremental is a library inspired by self-adjusting computation research.

It allows developers to build complex, efficient calculations that automatically update when inputs change. Key applications include building reactive spreadsheet-like tools, constructing performant GUI views, and maintaining data consistency between derived datasets and their source material.

Post-quantum cryptography is still safe

blog.cloudflare.com · 1 Dec

Cybersecurity · Encryption · Computer Science

Anthropic published theoretical quantum algorithms targeting Module-LWE and Module-SIS, the problems underlying ML-KEM and ML-DSA, but the research poses no practical threat to deployed post-quantum cryptography.

The attacks would require billions of logical qubits—far beyond current hardware—and astronomical runtimes, remaining slower than classical attacks by orders of magnitude. Cloudflare reports that 73% of its human traffic is post-quantum encrypted and says AI-assisted cryptanalysis can improve security understanding without revealing fundamental flaws in these standards.

Technology: The (nearly) perfect USB cable tester does exist

blog.literarily-starved.com · 1 Feb

Hardware · Productivity · Computer Science

The author reviews the Treedix USB Cable Tester, a device capable of identifying the true specifications of USB cables, including those that falsely report higher speeds to connected devices.

By analyzing eMarker data and physical lanes, the tester reveals many 'high-quality' cables are unreliable, making it an essential tool for troubleshooting and organizing complex USB cable collections.

Parrots pack twice as many neurons as primate brains of the same mass

dhanishsemar.com · 30 Mar

Science · Education · Computer Science

Kea parrots in New Zealand have demonstrated remarkable intelligence by manipulating traffic cones to stop cars for food, effectively inventing 'toll booths.'

Modern research confirms that birds possess high neuron density, allowing corvids and parrots to compete with great apes in tool use, social cognition, mirror self-recognition, and future planning, challenging the assumption that intelligence requires large brain mass.

I should have loved biology

jsomers.net · 20 Aug

Science · Education · Computer Science

James Somers argues that biology education should inspire wonder and teach questions, experiments, physical mechanisms, and scientific methods—not merely vocabulary and conclusions.

Drawing on molecular biology, immunology, computing analogies, and books that reveal discovery’s uncertainty, he proposes better visual, collaborative, and interactive tools—simulations, diagrams, and models—to make complex life processes understandable and ignite future scientific ambition.

I built a Game Boy emulator in F#

nickkossolapov.github.io · 30 Apr

Artificial Intelligence · Programming Languages · Computer Science

A software engineer built 'Fame Boy,' a Game Boy emulator written in F#, to better understand computer architecture.

The project involved modeling core hardware, the PPU, and APU, while leveraging F#'s type system for CPU instruction modeling. The emulator runs on both desktop and web using Fable, successfully balancing performance, hardware accuracy, and learning.

You should read Programming as Theory Building

codeutopia.net · 9 May

Design Patterns · Software Architecture · Computer Science

Peter Naur's 'Programming as Theory Building' argues that programming is primarily about cultivating a mental model of a system.

Code, documentation, and tests are secondary tools used to communicate this theory. Viewing development as theory building unifies disparate practices like clean code and design patterns, framing them as essential methods for sharing understanding and maintaining software effectively.

Navier–Stokes Lost in Translation

arxiv.org · 7 Oct

Artificial Intelligence · Mathematics · Computer Science

The paper argues that Lean verification of an AI-generated formalisation does not establish the correctness of the original natural-language proof.

Semantically faithful translation requires resolving mathematical ambiguities whose difficulty is unbounded in the Solvability Complexity Index (SCI) and arithmetical hierarchies, exceeding problems such as the Halting problem. Examples of mistranslations, including OpenAI’s announced Navier–Stokes proof, show that a verified Lean proof may not correspond to the claimed natural-language argument.

How Pizza Tycoon simulated traffic on a 25 MHz CPU

pizzalegacy.nl · 9 Apr

Low-Level Programming · Programming Languages · Computer Science

The 1994 game Pizza Tycoon simulated traffic on a 25 MHz CPU by using a simple, efficient grid-based system where road tiles dictate movement.

Rather than complex pathfinding or physics, it used one-way road logic, cheap pairwise collision checks with early exits, and pixel-based movement, maintaining performance by spreading computation across frames.

Conway's Game of Life, in real life

lcamtuf.substack.com · 19 Mar

Hardware · Programming Languages · Computer Science

The project documents the creation of a physical 17x17 interactive grid based on Conway’s Game of Life.

Utilizing NKK JB15LPF-JF switches, an AVR128DA64 microcontroller, and a custom PCB, the device enables users to toggle cells manually. It features an analog speed control, pulse-width modulation for LED display, and robust firmware safeguards to prevent hardware damage.

CasNum

github.com · 7 Mar

Python · Mathematics · Computer Science

CasNum is a Python library implementing arbitrary precision arithmetic through Euclidean compass and straightedge constructions.

It features a unique Game Boy emulator where ALU opcodes are executed via geometric intersections. Supporting RSA and basic arithmetic, the project prioritizes mathematical philosophy over performance, using caching to manage the high computational costs of its geometric engine.

Baidu released ERNIE 5.5 Flash Base

ernie.baidu.com · 5 Nov

Artificial Intelligence · Deep Learning · Large Language Models · Machine Learning · Computer Science

Baidu released ERNIE-5.5-Flash-Base, an open sparse MoE model with 280B total parameters and 14B activated per token.

Pre-trained from scratch on 33.5T tokens with 128K training context, it supports up to 1M tokens for fine-tuning and inference. Its hybrid sparse attention, Multi-Router Latent MoE, mHC, MultiMax and ECHO prioritize efficient training, inference and long-context use. The base checkpoint outperformed comparable models on most reported benchmarks and is available on Hugging Face in FP8 and BF16.

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