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

A Friendly Introduction to Racket

geometridae.bearblog.dev · 22 Aug

Algorithms · Programming Languages · Computer Science

This introduction presents Racket as a modern Lisp descended from Scheme, explaining its history, REPL, expression-based syntax, functions, lists, higher-order programming, recursion, and graphics.

It culminates in homoiconicity and macros, showing how Racket programs can generate and extend language syntax, with installation guidance and resources for further study.

Rhombus v1.0: A Racket flavored language with syntax

blog.racket-lang.org · 22 Jun

Programming Languages · Software Architecture · Computer Science

Rhombus v1.0, a general-purpose, extensible programming language built on Racket, has launched.

It combines Racket’s powerful macro system with a conventional, approachable syntax. Designed for production use, Rhombus supports functional programming, pattern matching, and domain-specific language (DSL) creation, while offering advanced metaprogramming tools to facilitate scalable software development.

Simplifying Vulkan One Subsystem at a Time

khronos.org · 5 Feb

Hardware · Low-Level Programming · Computer Science

The Vulkan Working Group is addressing the 'extension explosion problem' by transitioning from incremental API updates to comprehensive subsystem replacements.

Historically, numerous extensions increased complexity and created portability challenges for developers. To solve this, the group introduced VK_EXT_descriptor_heap, a total overhaul that replaces the traditional descriptor set subsystem. This new approach treats descriptors as memory and data rather than opaque objects, offering a more streamlined, console-like experience. While currently released as an EXT to gather community feedback, it aims for future core specification inclusion. This strategy reflects a broader commitment to simplifying the Vulkan API and improving cross-vendor compatibility through heavy industry collaboration and developer-focused roadmaps.

Why I still reach for Lisp and Scheme instead of Haskell

jointhefreeworld.org · 28 Apr

Programming Languages · Software Architecture · Computer Science

The author compares the academic purity and mathematical elegance of Haskell with the pragmatic, interactive flexibility of Lisp dialects like Scheme.

While admiring Haskell's sophisticated type system and innovations, the author argues that Lisp's simplicity, powerful REPL, and macro system provide a superior, more productive environment for rapid prototyping and real-world development.

Hilariously Fast Volume Computation with the Divergence Theorem

alyssarosenzweig.ca · 28 Aug

Algorithms · Performance · Computer Science

The article derives a fast O(n) algorithm for computing the volume of a simple, closed, triangulated 3D mesh using the Divergence Theorem.

By converting the volume integral into triangle surface integrals, it obtains a constant-cost per-triangle formula requiring only additions and multiplications, making CPU-based real-time computation highly efficient. The author later notes the method is not novel.

I've been drinking wine in my kitchen

scottaaronson.blog · 24 Nov

Artificial Intelligence · Mathematics · Computer Science

Anthropic and OpenAI released Lean-formalized proofs of Valiant’s VP≠VNP conjecture, obtaining algebraic-circuit lower bounds of exp(Ω(log^(4/3) n)) and exp(Ω(log^(5/4) n)), respectively, over fields of characteristic other than 2.

The similar approaches use compression or shortening followed by diagonalization, and imply limits on affine reductions from permanent to determinant. Separately, Khanna, Putterman, and Song reported a deterministic linear-time minimum-spanning-tree algorithm, saying AI generated its main ideas with minimal human intervention. The results modestly raised the author’s confidence in P≠NP.

The case against JPEG XL

giannirosato.com · 13 Sept

Algorithms · Performance · Computer Science

The analysis argues JPEG XL is technically versatile but poorly suited to the Web: optimized AVIF offers stronger lossy compression, faster decoding, better progressive rendering, and a mature ecosystem, while JXL’s complexity creates performance and security risks.

JPEG XL may excel in professional and archival workflows, but browser adoption would add compatibility costs without clear Web benefits.

Choosing a Public DNS Resolver

evilbit.de · 27 Jun

Cybersecurity · Performance · Computer Science

This guide helps users choose a public DNS resolver based on personalized priorities like privacy, speed, and filtering.

It evaluates 29 global providers using peer-reviewed research, analyzing factors like encrypted transport protocols, logging policies, DNSSEC validation, and jurisdictional impact to ensure users make informed decisions regarding their network security and performance.

Ada, Its Design, and the Language That Built the Languages

iqiipi.com · 17 Apr

Programming Languages · Software Architecture · Computer Science

Ada, developed for the DoD, set the standard for module systems, type safety, and concurrency.

While initially ignored by industry as verbose, many modern languages like Rust, Go, and Swift are now adopting its early architectural insights. Ada’s structured design and formal verification tools remain essential in safety-critical domains like avionics.

Learn OpenGL, extensive tutorial resource for learning Modern OpenGL

learnopengl.com · 23 Jul

Programming Languages · Education · Computer Science

LearnOpenGL is a comprehensive educational resource for mastering modern core-profile OpenGL.

It offers step-by-step guidance for beginners and experienced users to build 3D applications, covering core graphics concepts, lighting, and post-processing. The content is available for free online, as a downloadable PDF, and as a published physical book.

Category Theory Illustrated – Orders

abuseofnotation.github.io · 18 Apr

Algorithms · Mathematics · Computer Science

Mathematical orders, including linear, partial, and preorders, are defined by sets and binary relations obeying specific laws like reflexivity, transitivity, and antisymmetry.

These orders form thin categories where relationships map to morphisms. Concepts like meets and joins in order theory correspond directly to categorical products and coproducts, illustrating the fundamental connection between orders and category theory.

Electronics for Kids, 2nd Edition

nostarch.com · 19 Mar

Hardware · Education · Computer Science

Electronics for Kids is a hands-on guide teaching fundamental electronics through 21 practical projects.

Ideal for ages 10 and up, it covers electricity, circuit behavior, and components like resistors and transistors. Readers transition from basic concepts to building custom devices, culminating in a sophisticated LED reaction game built from scratch.

Voxile: A ray-traced game made in its own engine and programming language

elbowgreasegames.substack.com · 3 Mar

Programming Languages · Open Source · Computer Science

VoxRay Games released "The Builder's Update" for Voxile, a co-op survival-crafting game.

Built using the custom Lobster programming language and a proprietary engine, it features high-fidelity ray tracing and micro-voxel destruction. The update adds a Crystal Cathedral world and grenades, while the game is currently discounted on Steam.

Apache Arrow is 10 years old

arrow.apache.org · 12 Feb

Big Data · Open Source · Computer Science

Apache Arrow celebrates its 10th anniversary, reflecting on its 2016 launch as a stable, language-agnostic standard for columnar data.

Since its inception, the project has maintained exceptional backward compatibility, expanded to include native libraries for 12 languages, and fostered a massive ecosystem of subprojects like DataFusion, ADBC, and GeoArrow for high-performance data exchange.

The foolishness of "natural language programming" (1978)

cs.utexas.edu · 23 Oct

Programming Languages · Computer Science

Natural-language programming would not necessarily simplify computing: formal symbolisms reduce ambiguity and prevent nonsense through simple manipulation rules.

High-level languages already improved safety by turning some mistakes into error messages, while native-language interfaces add communication and coordination costs and burden machines with difficult interpretation. History of mathematics is presented as evidence that progress depended on designed formal systems. The essay concludes that making machines programmable in ordinary languages would be extraordinarily difficult, perhaps requiring millennia of intellectual development.

Why Writing Correct Software Is Hard

pron.github.io · 12 Nov

Mathematics · Computer Science

Writing correct software is fundamentally hard because program behavior cannot always be proved or decided: halting, Rice’s, and incompleteness results establish undecidability, while complexity theory makes verification at least as hard as any computable problem.

Even finite-state machines face state explosion, and modularization or language abstractions do not generally remove worst-case difficulty. Model checkers, deductive proofs, abstract interpretation, and types trade precision, automation, and human effort; practical assurance therefore requires restricted properties and empirical, targeted techniques, not a universal solution.

MeMo (Memory as a Model): A modular framework that adds new knowledge to LLMs through a dedicated memory model without changing their weights

arxiv.org · 26 Nov

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

MeMo (Memory as a Model) adds new knowledge to LLMs through a dedicated memory model while leaving the LLM’s parameters unchanged.

It captures cross-document relationships, tolerates retrieval noise, prevents catastrophic forgetting, requires neither model weights nor output logits, and works with open or proprietary LLMs. Its inference-time retrieval cost is independent of corpus size. Tests on BrowseComp-Plus, NarrativeQA, and MuSiQue show strong performance across diverse settings.

A Perfect SimCity

jeffquast.com · 22 Aug

Algorithms · Open Source · Computer Science

Using Micropolis source code and gym-city experiments, the author reverse-engineers SimCity’s scoring.

Perfect-score cities reach roughly 12–16k residents through low taxes, minimal roads, rails, and public services, while population-optimized designs exceed 700k at lower scores. Key exploits include unemployment bonuses, fountain-based crime reduction, land-value overflow, and pollution averaging.

What objective is reasoning solving?

alexwang.ai · 8 Nov

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

Reasoning optimizes aggregate success probability, not convergence of any individual chain of thought.

Each sample is a token-space path from prompt x to an answer accepted by a verifier; RL increases the probability of successful paths, while best-of-k sampling improves results by trying more paths. Longer chains help because training teaches models to use extra tokens, not because more tokens are inherently better. Search is amortized into model weights, but imperfect verifiers can enable reward hacking and unfaithful reasoning.

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