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

Appreciating Exif

brentfitzgerald.com · 9 Jun

Computer Science

Exif, or Exchangeable Image File Format, is a metadata standard for digital images, primarily used for camera settings and orientation.

It uses a TIFF-like structure typically found in JPEG APP1 segments. Developers should handle orientation by normalizing pixels during processing, treat metadata as untrusted input, and use robust tools like exiftool for reliable file inspection and manipulation.

Yes, true + true === 2. And No, JavaScript Isn’t Broken

dev.to · 4 Jan

JavaScript · TypeScript · Computer Science

This article explores the historical evolution of JavaScript, reflecting on its primitive state before ES6 and the complexities of working with prototypes before modern features like Promises and classes.

The author addresses a common industry trope regarding JavaScript quirks, specifically the expression true + true === 2. This behavior is explained through the lens of internal conversion rules where the + operator triggers numeric addition in the absence of strings. According to the ToNumber internal rule, true evaluates to 1 and false to 0. By comparing this to other languages like Python and C++, the author demonstrates that this logic is a standard computer science principle rather than a unique flaw in JavaScript design, encouraging a deeper understanding of type coercion.

Aho-Corasick Algorithm

compiler.club · 29 Sept

Algorithms · Performance · Computer Science

The Aho-Corasick algorithm builds a trie-based finite automaton for simultaneous substring matching.

Breadth-first traversal computes suffix links for failure recovery and output links for reporting overlapping pattern matches, then resolves transitions into a deterministic finite automaton. This enables efficient scanning, with sparse storage recommended when many transitions lead to the root.

UEFIGame: "Win -> Boot, Lose -> Shutdown"

github.com · 28 Jan

Hardware · Low-Level Programming · Computer Science

This project highlights a unique developer initiative involving the EDK II framework to create a suite of mini-games that run directly within the UEFI environment.

Adhering to a 'Win to Boot, Lose to Shutdown' mechanic, the project includes creative modules such as 'Insult Sword Fighting' inspired by Monkey Island, age verification trivia, and a memory test called 'UEFI Says.' Each game serves as a gatekeeper to the operating system; failing a challenge triggers a system shutdown, while success allows the boot process to continue. The repository provides comprehensive technical documentation for compiling the EFI binaries using GCC5, deploying them on real hardware via efibootmgr, or testing the implementation in virtualized environments using QEMU and OVMF. It demonstrates low-level programming concepts, specifically focusing on the UEFI shell and the management of UTF-16 text files within the EFI System Partition.

A Crash Course in Predicate Logic

hillelwayne.com · 1 Sept

Education · Mathematics · Computer Science

This chapter introduces predicate logic for programmers: Boolean predicates, truth tables, implication, sets, comprehensions, existential and universal quantifiers, rewrite rules, and proofs.

It shows how formal notation removes ambiguity in software requirements, models conditional behavior and code properties, supports type-like constraints and database queries, and exposes the ability-guarantee tradeoff.

The Gemini Protocol in 2026

kevinboone.me · 16 Mar

Distributed Systems · Open Source · Computer Science

The Gemini protocol, a non-commercial, minimalist alternative to the web, has grown slowly to around 6,000 capsules since 2020.

Despite improvements in client software like Lagrange, it faces ongoing challenges: mandatory TLS, an inflexible text format, poor hosting infrastructure, and a fragmented user base caused by the emergence of multiple alternative protocols.

Linear types proposal for Hare

yerinalexey.srht.site · 1 Apr

Low-Level Programming · Programming Languages · Computer Science

This overview introduces a linear type system for the Hare programming language to ensure memory safety.

It details mechanisms like atomic swaps, lifetime annotations, and conditional deferral to handle resource management, prevent memory leaks, and enforce strict ownership rules across stacks, heaps, and compound types, effectively bridging gaps in traditional resource destruction.

Your job isn't programming

codeandcake.dev · 30 Mar

Career · Software Architecture · Computer Science

Software development failures often stem from prioritizing technical rewrites over solving complexity.

True progress requires designing effective abstractions—clear ideas that hide unnecessary details. By focusing on data-driven models and iterative refactoring rather than just programming, developers can manage system complexity, improve maintainability, and ensure codebases remain understandable as they scale over time.

You don't need free lists

jakubtomsu.github.io · 20 Feb

Low-Level Programming · Performance · Computer Science

The article explores replacing free-lists in pool-like data structures with multi-level bit pools.

This approach uses bitmasks and the `tzcnt` instruction for O(1) slot allocation. Benefits include minimal memory overhead (1 bit per slot), improved memory locality by allocating lower indices first, and better suitability for SIMD and AoSoA architectures.

Pole of Inaccessibility

en.wikipedia.org · 23 Mar

Algorithms · Science · Computer Science

A pole of inaccessibility represents the geographical point that is the most difficult to reach based on its distance from coastlines or boundaries.

Notable examples include the Northern Pole of Inaccessibility in the Arctic Ocean and the Southern Pole of Inaccessibility in Antarctica, the latter famously marked by a Soviet research station and a bust of Vladimir Lenin. Point Nemo serves as the oceanic pole, located in the South Pacific so far from land that the nearest humans are often astronauts on the International Space Station. Modern calculations utilize advanced algorithms like B9-Hillclimbing and datasets from OpenStreetMap to refine these coordinates. These locations often serve as ultimate challenges for explorers and as designated spacecraft cemeteries for retiring orbital technology.

Formal Verification Is Not Verifiable

alperenkeles.com · 13 Nov

Computer Science

Formal verification is becoming mainstream through AI, but “formally verified software” is too broad to trust without caveats.

Proofs verify specified properties, while definitions, models, provers, compilers, and trusted computing bases may still contain bugs; binary verification reduces some dependencies but not the whole problem. The author favors precise claims, review, testing, and random exploration, and is optimistic about proving many first-order properties of single-threaded production systems, while concurrency and real-world properties remain difficult.

Is Learning DSA Boring? Let's Use DSA View View 👀👀 (Two Sum, Binary Search, and Bubble Sort)

dev.to · 19 Aug

Algorithms · TypeScript · Computer Science

DSA View View is a free browser tool that visualizes TypeScript algorithms step by step, helping learners understand runtime data flow.

The article demonstrates Two Sum with Map, Binary Search, and Bubble Sort, explaining their logic and complexity. Visualization exposes changing variables, comparisons, searches, and swaps, making algorithmic reasoning clearer than code alone.

A bet on whether ML-KEM-768 or X25519 will break first

github.com · 10 Apr

Cybersecurity · Encryption · Computer Science

Matthew Green and Filippo Valsorda have placed a public wager regarding the security longevity of ML-KEM-768 versus X25519.

This challenge, set to conclude by 2040, involves charitable donations based on which cryptographic primitive experiences a practical security break or significant academic downgrade first. Implementation-related side channels and non-primitive specific attacks are excluded from the criteria.

Stop Ignoring RFC 2324. It's the Most Important Protocol You've Never Implemented.

dev.to · 24 Feb

Python · Software Architecture · Computer Science

This article explores technical implementation of RFC 2324, the Hyper Text Coffee Pot Control Protocol (HTCPCP).

It covers the protocol's history, iconic error codes like 418, and practical building of a server using Python and FastAPI. The exercise demonstrates deep architectural lessons in HTTP standards, state machines, and protocol modeling through a playful but rigorous approach.

Meet Kiki - an array language

eli.li · 8 Apr

Artificial Intelligence · Programming Languages · Computer Science

Kiki is a new array-based programming language inspired by BQN and K.

It utilizes minimalist glyph-based syntax and right-to-left execution for efficient data processing. Designed for complex array manipulations and recursive sequences, Kiki offers a unique, minimalist environment for developers, emphasizing logic and computational precision over traditional syntax, effectively functioning as a tool for expressive, glyph-forged arithmetic.

FLT: Anthropic has beaten me to it

xenaproject.wordpress.com · 4 Sept

Artificial Intelligence · Mathematics · Computer Science

Anthropic reports that an internal model, using prove2.me, completed a Lean formalization of Fermat’s Last Theorem (FLT), concluding a 20-year benchmark of 100 challenges.

The 13.4-million-line proof follows established mathematics rather than adding new results, but demonstrates AI-driven autoformalization at unprecedented scale, potentially accelerating mathematical verification, exposing hidden assumptions, and reshaping research review.

My favorite Computer Science books, and why

backtracking.github.io · 23 Aug

Algorithms · Programming Languages · Computer Science

A curated selection of essential Computer Science books covering algorithms, programming practice, computer systems, functional data structures, arithmetic optimization, text processing, and building computers from first principles.

The author praises their clarity, depth, enduring relevance, practical insights, rigorous explanations, and ability to strengthen programmers’ understanding beyond any single programming language.

TIL that Helix and Typst are a match made in heaven

ergaster.org · 9 Apr

Productivity · Programming Languages · Computer Science

Typst is a powerful, modern alternative to LaTeX for document formatting.

When paired with the Helix editor and the Tinymist language server, users gain advanced features like semantic highlighting and a seamless live preview that syncs with their cursor, offering a streamlined workflow for creating complex documents without the bloat of traditional office suites.

C Programming Language Quiz

stefansf.de · 22 May

C · Programming Languages · Computer Science

This content provides a comprehensive quiz exploring various technical quirks, undefined behaviors, and standard specifications of the C programming language.

It covers topics like pointer aliasing, integer constants, function declarations, memory storage durations, and evaluation orders, offering educational insights into how C implementation works across different standards and platforms.

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