c-language

Tag

Cards List
#c-language

Your code is fast – if you're lucky

Hacker News Top ↗ · 2026-07-11 Cached

This article presents a branchless Quicksort implementation using sorting networks and discusses how modern compilers, especially Clang, optimize loops with branch-free instructions when written in the right style.

0 favorites 0 likes
#c-language

@ErickSky: Forget about vLLM, llama.cpp, and expensive GPUs. [colibri] This runs GLM-5.2 (744B MoE) on ~25 GB of RAM with pure C a…

X AI KOLs Timeline ↗ · 2026-07-10 Cached

colibri is a pure C inference tool that runs the GLM-5.2 744B MoE model on ~25 GB RAM by streaming experts from disk, eliminating the need for expensive GPUs.

0 favorites 0 likes
#c-language

Show HN: Getting GLM 5.2 running on my slow computer

Hacker News Top ↗ · 2026-07-09 Cached

Colibrì is a pure C inference engine that runs the 744B GLM-5.2 MoE model on consumer hardware with ~25GB RAM by streaming experts from disk, achieving ~2.2-2.8 tokens/second with speculative decoding.

0 favorites 0 likes
#c-language

Tiny-C Reference Manual Excerpt

Hacker News Top ↗ · 2026-07-02 Cached

An excerpt from the tiny-c Reference Manual, describing the origins, design philosophy, and features of the tiny-c programming language, which combines elements of BASIC, LOGO, and C in a simple, integrated environment.

0 favorites 0 likes
#c-language

The Underhanded C Contest

Hacker News Top ↗ · 2026-07-01 Cached

The article announces the results of the 2015 Underhanded C Contest, a programming contest focused on writing deceptively malicious C code, with this year's challenge involving nuclear verification and highlighting NaN poisoning attacks.

0 favorites 0 likes
#c-language

Single header Parser Combinators for C

Hacker News Top ↗ · 2026-07-01 Cached

CParseC is a single-header C99 library for parser combinators inspired by Haskell's Parsec, offering zero-copy parsing, no hidden allocations, and SIMD-optimized combinators. It aims to provide a flexible, performant alternative to handwritten parsers and lex/yacc tools.

0 favorites 0 likes
#c-language

Qwen3.6 27B local vs Opus 4.8, voxel engine in raw C with zero frameworks

Reddit r/LocalLLaMA ↗ · 2026-06-28

Compares Qwen3.6 27B running locally against Opus 4.8, and highlights a voxel engine built in raw C with zero frameworks.

0 favorites 0 likes
#c-language

A barebones CPU-only inference engine for Qwen 3, written from scratch in pure C

Reddit r/LocalLLaMA ↗ · 2026-06-28

A minimal CPU-only inference engine for Qwen 3 models implemented from scratch in pure C.

0 favorites 0 likes
#c-language

C in the Linux Kernel

Lobsters Hottest ↗ · 2026-06-27 Cached

This article delves into the differences between C in the Linux kernel and ordinary userspace C, covering core techniques such as resource management, error handling, concurrency, logging, static analysis, and extensively using GNU C extensions and kernel-specific patterns.

0 favorites 0 likes
#c-language

Linux Kills Strncpy

Hacker News Top ↗ · 2026-06-26 Cached

The Linux kernel has finally removed the dangerous strncpy function after six years and over 360 patches, replacing it with safer alternatives like strscpy that guarantee NULL-termination.

0 favorites 0 likes
#c-language

F* file system – file search that reads SSD directly bypassing OS kernel

Hacker News Top ↗ · 2026-06-21 Cached

A CLI tool called ffs that searches files by reading the disk directly, bypassing the OS kernel's VFS layer, offering potential speed advantages over tools like ripgrep for large, uncached directories. Supports ext4, btrfs, and APFS file systems.

0 favorites 0 likes
#c-language

Memory Safe Inline Assembly

Hacker News Top ↗ · 2026-06-20 Cached

Fil-C introduces memory-safe inline assembly, ensuring that programmer errors result in panics or traps rather than miscompilation.

0 favorites 0 likes
#c-language

Computed goto for efficient dispatch tables (2012)

Hacker News Top ↗ · 2026-06-17 Cached

Explains the use of GCC's computed goto extension to improve the performance of bytecode VM dispatch tables compared to traditional switch statements, with a simple example.

0 favorites 0 likes
#c-language

Nordstjernen Web Browser

Lobsters Hottest ↗ · 2026-06-15 Cached

Nordstjernen is a secure, minimal web browser written entirely in C from scratch, focused on HTML/CSS standards compliance and process-per-tab sandboxing. Version 1.0.8 has been released as a maintenance update.

0 favorites 0 likes
#c-language

Making a game in Visual Studio from 1997

Lobsters Hottest ↗ · 2026-06-07 Cached

A senior developer used Visual Studio 6 from 1997 and pure C to build a dual-stick shooter game framework on Windows 7, demonstrating retro development practices such as fixed timestep, object management, and OpenGL compatibility mode.

0 favorites 0 likes
#c-language

Getting silly with C, part &((int*)-8)[3]

Lobsters Hottest ↗ · 2026-06-06 Cached

A humorous educational article covering C programming fundamentals such as forward declarations, operator precedence, unconditional jumps, and basic arithmetic with intentionally silly code examples.

0 favorites 0 likes
#c-language

Cessation of public development of Kefir C compiler

Hacker News Top ↗ · 2026-06-01 Cached

The lead developer of the Kefir C compiler announces the cessation of public development, moving the project to private mode indefinitely to preserve personal enjoyment and sustainability.

0 favorites 0 likes
#c-language

Discussion about C array type semantics

Lobsters Hottest ↗ · 2026-05-24 Cached

The article explains the confusing behavior of C array types, including their decay to pointers, exceptions like sizeof and function parameters, and compares it to function types, suggesting a mental model where arrays and pointers are strictly separated.

0 favorites 0 likes
#c-language

C Constructs That Still Don’t Work in C++ — and a Few That Changed

Lobsters Hottest ↗ · 2026-05-23 Cached

A blog post updating the classic survey of C constructs that don't work in C++, covering changes in C++20 and C23 standards that affect compatibility.

0 favorites 0 likes
#c-language

Why does the arrow (->) operator in C exist?

Lobsters Hottest ↗ · 2026-05-20

An article explaining the historical and technical reasons for the existence of the arrow operator (->) in the C programming language.

0 favorites 0 likes
← Previous
Next →
← Back to home

Submit Feedback