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

andreasfertig/cppinsights

github.com · 1 Oct

C++ · Programming Languages · Computer Science

C++ Insights is a Clang-based source-to-source transformation tool that reveals compiler-generated behavior in readable C++ code.

It expands constructs such as lambdas, range-based for-loops, structured bindings, auto, implicit special member functions, operator calls, and casts, helping developers and educators understand modern C++ semantics. It is available online and as a command-line application.

Modern Microprocessors – A 90-Minute Guide

lighterra.com · 12 Apr

Hardware · Low-Level Programming · Computer Science

This guide provides a comprehensive introduction to modern microprocessor architecture.

It covers essential design concepts including pipelining, superscalar execution, branch prediction, and memory hierarchy. The article contrasts various design philosophies, such as brainiac (high ILP) versus speed-demon (efficient simplicity) approaches, and explains how modern processors balance performance, power, and thermal limits.

Lotus 1-2-3 on the PC with DOS

stonetools.ghost.io · 6 Mar

Software Architecture · History · Computer Science

Lotus 1-2-3 revolutionized the spreadsheet industry, eclipsing VisiCalc by integrating graphing and database features.

Written in x86 assembly, it was the 'killer app' for IBM-PC, offering speed and usability. Features like minimal recalculation and cell naming shaped modern software, while add-ins and the HAL natural language assistant expanded the ecosystem's power within limited hardware.

A compelling title that is cryptic enough to get you to take action on it

ericwbailey.website · 9 Apr

Productivity · Computer Science

This guide provides a structured framework for technical writing, emphasizing readability, logical flow, and content organization.

By utilizing subheadings, bulleted lists, and code snippets, authors can effectively communicate complex concepts. The approach balances high-level overviews with practical, actionable details to ensure readers gain a comprehensive understanding of the subject matter.

Logic for Programmers

logicforprogrammers.com · 30 Jul

Python · Mathematics · Computer Science

The all function in Python returns True for an empty list because True is the identity element for the logical AND operation.

This mathematical property ensures consistency when concatenating lists, as all(xs + ys) must equal all(xs) and all(ys). This logic also explains why an empty sum equals 0 and any([]) returns False.

Halt and Catch Fire

unstack.io · 15 May

Hardware · Low-Level Programming · Computer Science

The term 'Halt and Catch Fire' (HCF) originated as engineering humor for undocumented machine-code opcodes that lock a CPU.

Historically, some triggered extreme hardware states, like the IBM System/360, while others, like the Motorola 6800, caused useful 'bus-walking' behaviors. Today, the concept relates to processor vulnerabilities identified through fuzzing and low-level hardware debugging.

Graphics Programming Resources

develop--gpvm-website.netlify.app · 4 Mar

Performance · Programming Languages · Computer Science

An extensive collection of graphics programming resources covering fundamental and advanced topics.

It includes tutorials for OpenGL, Vulkan, and WebGPU, alongside deep dives into ray tracing, path tracing, physically based rendering (PBR), and software rasterization. The list also features essential math, memory management, and data-oriented design for high-performance graphics development.

Cells use 'bioelectricity' to coordinate and make group decisions

quantamagazine.org · 1 Feb

Science · Health · Computer Science

Recent research published in Nature reveals that bioelectricity is not exclusive to neurons; it is a fundamental tool used by all tissues to coordinate group behaviors like cell extrusion.

In epithelial tissues, overcrowding increases electrical current across cell membranes. Healthy cells manage this stress, but weak or energy-starved cells fail to maintain their membrane potential, causing water loss and shrinkage. This electrical 'health checkup' marks the weakest cells for removal, preventing conditions like cancer or asthma. Scientists suggest that bioelectrical signaling is an ancient evolutionary mechanism used for rapid communication, resource management, and embryonic development across diverse life forms.

Profession by Isaac Asimov

abelard.org · 1 Nov

Education · Philosophy · Computer Science

Isaac Asimov's Profession is a profound science fiction novella that explores the nature of education and societal structure in a future where human knowledge is directly imprinted into the brain via tapes.

The protagonist, George Platen, faces a crisis when he is labeled ‘feeble-minded’ and denied a professional education. The story eventually reveals a hidden layer of society: the Institute of Higher Studies. This institution is designed to identify and isolate individuals capable of original, creative thought—those who cannot be taped because their minds must invent the technology others merely use. It serves as an allegory for the necessity of intellectual independence and the limitations of standardized learning systems.

A Road to Lisp: Which Lisp

scotto.me · 17 Jul

Artificial Intelligence · Programming Languages · Computer Science

Lisp is a family of programming languages sharing fundamental syntax but differing in capabilities.

Key dialects include Common Lisp, known for high performance and stability; Clojure, which leverages the JVM for modern, functional development; and Racket, optimized for language-oriented programming and education. Choosing a dialect depends on specific project needs like performance, ecosystem integration, or research.

Developing provably correct Rust code with Verus

amazon.science · 14 Sept

Cybersecurity · Rust · Computer Science

Verus is an open-source automated program verifier for Rust that checks implementations against mathematical specifications for all inputs, complementing testing with machine-checked proofs.

It supports unsafe and concurrent code, provides rapid feedback, and can assist AI agents with proof generation. Amazon uses it for critical infrastructure, while open-source projects apply it to parsers, cryptography, storage, and Kubernetes.

Apple Copland D11E4 Booting in the Browser

pagetable.com · 16 Sept

Operating Systems · Open Source · Computer Science

Apple’s canceled Copland OS, intended as a microkernel-based replacement for System 7, can now run in improved DingusPPC emulation.

The final D11E4 build boots in real time on modern wasm-capable machines, with keyboard/mouse controls, debugger recovery, and sample applications. Eleven patches enabled booting; Copland ultimately led Apple to acquire NeXTSTEP/OpenStep for Mac OS X.

Copy That Floppy – Cambridge guide for preserving data from fragile floppy disks

digipres.org · 8 Jul

Hardware · History · Computer Science

This guide provides a professional framework for practitioners on preserving 8-inch, 5.25-inch, 3.5-inch, and 3-inch floppy disks.

It covers identifying media, acquiring legacy hardware, maintenance, cleaning, and flux-level imaging using specialized controllers like Greaseweazle and Applesauce to ensure long-term data accessibility for archival and digital preservation purposes.

Tinnitus Is Connected to Sleep

sciencealert.com · 5 Mar

Science · Health · Computer Science

Neuroscientists at the University of Oxford have discovered a significant link between tinnitus and sleep.

Research indicates that deep non-REM sleep might naturally suppress the brain hyperactivity responsible for the phantom noise. Understanding this relationship could lead to new treatments for the condition, which affects 15 percent of the global population.

Wirth's Revenge

jmoiron.net · 5 Feb

Performance · Programming Languages · Computer Science

The article explores 'Wirth's Law,' which posits that software complexity increases faster than hardware gains can compensate for.

While Niklaus Wirth originally lamented features like GUIs and icons as wasteful, the author argues that some 'Wirth tradeoffs' are justified by improved accessibility. However, the rise of Large Language Models (LLMs) presents a dangerous new phase. Unlike cloud computing, which abstracted infrastructure for efficiency, LLMs are being used by laypeople to solve simple problems with massive computational waste. The author warns that relying on AI to perform tasks rather than write efficient scripts leads to 'thought-terminating' solutions. This shift risks eroding human skill and creating a runtime complexity growth curve that hardware advances may never overcome, potentially signaling a 'bad' Wirth tradeoff that prioritizes convenience over fundamental technical understanding.

MenuetOS – a GUI OS that boots from a single floppy disk

menuetos.net · 3 Feb

Low-Level Programming · Operating Systems · Computer Science

MenuetOS is a unique operating system written entirely in 64-bit and 32-bit assembly language.

Its primary design goal is to eliminate excessive layers between the kernel and applications, resulting in high speed and compact code. Unlike many modern systems, MenuetOS is not based on UNIX or POSIX standards. It features a responsive Graphical User Interface, pre-emptive multitasking, and SMP support for up to 32 processors. The system is remarkably efficient, fitting onto a single floppy disk while offering high-resolution graphics, USB 2.0 support, and a complete TCP/IP stack. Recent updates have introduced a partial Linux layer and improved multimedia capabilities.

Unconditional Integer Factorization in Subexponential Time

github.com · 26 Nov

Algorithms · Mathematics · Computer Science

An unconditional, zero-error Las Vegas algorithm on a fixed uniform classical multitape Turing machine computes the exact prime factorization of every integer N≥2 in worst-case expected time L_N[1/3,105] and deterministic workspace L_N[1/3,40].

It certifies every output factor with Agrawal–Kayal–Saxena primality testing and multiplication checks. The paper also claims a complete Mathlib-only Lean 4 formalization, produced by Cogentic using Gemini 4 without human interaction beyond the initial prompt.

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