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

Fast sorting, branchless by design

00f.net · 17 Feb

Algorithms · Performance · Computer Science

Sorting networks, like Batcher's bitonic sort and the vectorized djbsort, provide data-oblivious execution to prevent timing side-channel attacks in cryptography.

By using a fixed sequence of operations independent of input values, these algorithms ensure security and often outperform traditional data-dependent sorts like quicksort through SIMD optimization and inherent parallelism.

The cool things of Gleam

a.baez.link · 18 Aug

Programming Languages · Computer Science

An early Gleam learner praises its simplicity: @deprecated guides users to replacements, todo is a first-class construct, and generic types remain concise.

Pattern matching and case expressions handle control flow, while Result and Option eliminate exceptions and nulls. These deliberate, functional designs improve readability and error handling, making Gleam notably pleasant to use.

Jam Programming Language

rapha.land · 6 Jul

Performance · Programming Languages · Computer Science

Jam is a new programming language designed to combine the performance and C-like ergonomics of Zig with the safety features of Rust, without a garbage collector.

It achieves this through mutable value semantics, a synthesized drop system, and strict call-site exclusivity checks, aiming to simplify complex development flows and improve production reliability.

Catjam 2026

itch.io · 12 Jun

Programming Languages · Culture · Computer Science

This upcoming game jam challenges developers to build a game, toy, or zine featuring or utilizing a concatenative programming language, also known as a catlang.

Participants must adhere to strict 'no generative AI' rules and are encouraged to explore the hat theme. The focus is on creativity, function composition, and hands-on development.

"﷽" U+FDFD: ARABIC LIGATURE BISMILLAH AR-RAHMAN AR-RAHEEM (Unicode Character)

unicodeplus.com · 24 Mar

Programming Languages · Computer Science

The Unicode character U+FDFD represents the ARABIC LIGATURE BISMILLAH AR-RAHMAN AR-RAHEEM.

Added in Unicode 4.0, this symbol resides in the Arabic Presentation Forms-A block of the Basic Multilingual Plane. It is widely used in digital text processing across various programming languages, web standards, and character encoding schemes like UTF-8.

miniKanren.org

minikanren.org · 8 Feb

Algorithms · Programming Languages · Computer Science

miniKanren is an influential family of embedded domain-specific languages (EDSLs) specifically designed for logic and relational programming.

Originally implemented in Scheme, it has been ported to over 40 different host languages including Clojure, Haskell, Python, and Rust. The core language is notably minimalistic, consisting of only three logical operators and one interface operator, yet it supports powerful extensions like Constraint Logic Programming and probabilistic logic. The ecosystem encompasses numerous research papers, academic theses, and community-driven projects such as Barliman for program synthesis and core.logic for Clojure. It serves as a vital tool for exploring advanced programming language concepts like relational interpreters, unification algorithms, and automated theorem proving.

writing about pratt parsing so I remember it

unix.dog · 25 Oct

Algorithms · Programming Languages · Computer Science

Pratt parsing transforms shunting yard’s explicit operator stack into implicit call-stack recursion, making expression parsers easier to extend.

The demonstrated C parser uses binding powers to decide when recursion enters or returns from subexpressions, while prefix handling and operator-specific code support parentheses and more complex operators. Unlike conventional recursive descent, it avoids a function layer for every precedence level. Operator rules can combine binding power with prefix and postfix subroutines, keeping the core parser small.

Generic Const Args and You

blog.rust-lang.org · 2 Oct

Programming Languages · Open Source · Computer Science

Rust's Const Generics team introduces Generic Const Arguments (GCA), a family of experimental features replacing generic_const_exprs.

GCA enables generic parameters in ADTs, arrays, tuples, and const items, with transparent and opaque semantics, plus optional macroless syntax. The design remains unstable, ergonomics and implementation issues persist, and contributors are invited to report feedback.

Do not let your type system reason about aliasing in your programming language

futhark-lang.org · 22 Sept

Performance · Programming Languages · Computer Science

Futhark’s alias and consumption type system enables guaranteed allocation-free in-place updates, but its conservative rules become complex across functions, tuples, higher-order code, polymorphism, and modules.

Fixing soundness exposes ergonomic breakage, especially around abstract types and self-aliasing. Futhark plans to retain current notation, add self-alias tracking, and use parametricity for more precise inference before version 1.0.

A Million Kakapos

blog.mempko.com · 27 Aug

Economics · Open Source · Computer Science

LLM coding agents are making software creation abundant, potentially shifting the ecosystem from cooperative Open Source commons toward duplicative, private, single-maintainer projects.

The article argues scarcity historically encouraged shared foundations, redundancy, and robustness, while abundance enables competition and “a million Kakapos”: bespoke systems optimized for narrow needs but fragile, under-maintained, and vulnerable to failure.

Low Resource Computing 2026

lrc.cs.dartmouth.edu · 15 Jul

Environment · Philosophy · Computer Science

Computing history shows that massive achievements once relied on minimal resources.

Modern software now prioritizes excess over efficiency, leading to unsustainable growth in compute and energy use. This workshop explores returning to modest-scale computation, emphasizing individual capabilities and sustainable practices for a more reasonable future rather than relying on infinite, expensive hardware scaling.

a bunch of stuff i used to not know about K&R C

sebsite.pw · 12 Jul

C · History · Computer Science

This research analyzes early 'pre-ANSI' C, examining the language's evolution from its K&R roots to the ANSI C standard.

It details idiosyncrasies like the lack of 'void', different integer promotion rules, and the emergence of 'value-preserving' conventions. The analysis explores historical compiler limitations, including the pre-standard preprocessor, missing keywords, and the origins of modern C features.

Peace For All – Re: Factor

re.factorcode.org · 8 Jul

GitHub · Programming Languages · Computer Science

A developer discusses an obfuscated bash script found on a Uniqlo Peace for All t-shirt.

Inspired by the nostalgia of retro computing, they implemented a similar, colorful animation visualization using Raylib and the Factor programming language, sharing the implementation logic and source code via GitHub.

Plan 9 is a Uniquely Complete Operating System

posixcafe.org · 7 Apr

Software Architecture · Operating Systems · Computer Science

Plan 9 is a uniquely complete operating system that includes its own compilers, kernel, and user-space tools in a single repository.

This monolithic design ensures consistent architecture and eliminates configuration fragmentation, serving as an excellent educational tool, though it remains somewhat isolated from the broader software ecosystem and modern feature-rich alternatives.

Value numbering

bernsteinbear.com · 4 Apr

Algorithms · Software Architecture · Computer Science

Value numbering is a compiler optimization technique that identifies and eliminates redundant instructions by determining if expressions produce the same value at runtime.

By mapping instructions to unique values and utilizing hash-consing or global analysis via dominator trees, compilers like Maxine VM reduce repeated computations, ultimately improving execution performance in both static and dynamic environments.

Self-Host and Tech Independence: The Joy of Building Your Own

ssp.sh · 18 Mar

Linux · Open Source · Computer Science

Achieving tech independence through self-hosting, Linux proficiency, and open-source software offers immense long-term value.

By owning your domain and infrastructure, you escape subscription-based dependencies and corporate vendor lock-in. Tools like Gitea, Nginx, and Paperless demonstrate that building a personal homelab is a rewarding, educational journey that fosters long-term digital growth and community collaboration.

The Road Not Taken: A World Where IPv4 Evolved

owl.billpg.com · 17 Mar

Artificial Intelligence · History · Computer Science

This article explores a hypothetical parallel universe where an extension called IPv4x, rather than IPv6, solved the address exhaustion crisis.

By embedding 128-bit addresses within existing IPv4 structures, the Internet could have evolved seamlessly. While IPv6 offers a cleaner architecture, the author argues for the value of compatible, incremental transitions over revolutionary, disruptive protocol changes.

eBPF the Hard Way

feyor.sh · 19 Feb

Linux · Low-Level Programming · Computer Science

A guide to using eBPF at the bytecode level in Linux without high-level libraries like libbpf.

It covers BPF instruction sets, constant string maps using Zig, and the complexities of BPF Type Format (BTF) required for subprograms and KFuncs, providing a low-level understanding of kernel verification and execution.

GNU Units

gnu.org · 30 Jan

Mathematics · Open Source · Computer Science

GNU Units is a comprehensive utility designed for converting quantities between diverse systems of measurement, supporting both simple multiplicative scales and complex nonlinear transformations like temperature scales or wire gauges.

Beyond basic conversion, it serves as a powerful scientific calculator capable of processing arbitrary mathematical expressions while maintaining dimensional consistency. Users can perform advanced operations including sums of units, such as meters to feet and inches, or calculate roots of dimensions. The tool relies on an external, customizable data file for unit definitions and adheres to the GNU General Public License. It is available across multiple platforms, including Linux and Windows, providing a flexible environment for scientific and mathematical tasks that require high precision and unit tracking.

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