c

Tag

Cards List
#c

Using a lookup-table to correct an approximation

Lobsters Hottest ↗ · 3d ago Cached

A Corsix.org blog post explores reducing binary size for enum-to-string conversion functions by replacing pointer tables with compact offset tables, and further compressing those offsets using a linear approximation corrected by a small lookup table of residuals.

0 favorites 0 likes
#c

QML for C & Zig

Lobsters Hottest ↗ · 6d ago

A discussion on Lobsters about enabling QML (Qt's declarative UI language) for C and Zig, covering bindings and tooling for these languages.

0 favorites 0 likes
#c

Calling a function in C without naming it

Lobsters Hottest ↗ · 2026-10-07

A Lobsters discussion about techniques for calling a function in C without directly naming it, covering low-level language tricks and compiler/linker behavior.

0 favorites 0 likes
#c

C for Rust Programmers

Lobsters Hottest ↗ · 2026-10-07 Cached

A blog post by a Rust programmer detailing quirky C language behaviors learned while self-teaching C, including booleans via <stdbool.h>, null-terminated strings versus Rust's length-prefixed &str, and related memory trade-offs. It serves as a practical companion guide for developers transitioning from Rust to C.

0 favorites 0 likes
#c

Float and integer arithmetic follow two different paradigms

Hacker News Top ↗ · 2026-10-05 Cached

博客文章指出整数与浮点算术遵循不同范式:整数运算需在灾难发生前预防溢出,而 IEEE-754 浮点运算中的 NaN 与无穷值会自然传播,不应照搬预防式检查(如用零分母或 FLT_EPSILON 守卫),这些检查在多数场景下无效且被 LLM 频繁写错。

0 favorites 0 likes
#c

To Save C, We Must Save ABI

Hacker News Top ↗ · 2026-08-08 Cached

The author argues that despite the common call to break ABI to save C++, preserving a stable ABI is necessary to allow C to evolve, and discusses the trade-offs and constraints ABI stability imposes on language and standard library improvements.

0 favorites 0 likes
#c

I built a deep learning library from scratch in C that lets you train language models [P]

Reddit r/MachineLearning ↗ · 2026-07-28

I built a deep learning library in C from scratch that supports tensor operations, autograd, and neural network modules, and used it to train a tiny language model on Shakespeare data.

0 favorites 0 likes
#c

C/C++ projects packaged for Zig

Hacker News Top ↗ · 2026-07-27

A tool that packages existing C/C++ projects for use with the Zig build system, enabling easier integration.

0 favorites 0 likes
#c

Memory Safety Absolutists

Lobsters Hottest ↗ · 2026-07-25 Cached

The article critiques memory safety absolutism in programming language debates, arguing that new approaches like Fil-C have trade-offs and that dismissing Rust as unsafe ignores practical benefits.

0 favorites 0 likes
#c

Fil-C: Garbage In, Memory Safety Out

Lobsters Hottest ↗ · 2026-07-23 Cached

Fil-C is a fully memory-safe implementation of C/C++. It bundles pointer values with boundary information using invisicaps at the LLVM IR stage, achieving high compatibility with a performance penalty of about 4x.

0 favorites 0 likes
#c

C Strings: A 50-Year Mistake

Lobsters Hottest ↗ · 2026-07-15 Cached

A critique of null-terminated strings in C, arguing that length-based strings are superior for modern programming, leading to fewer bugs and better performance.

0 favorites 0 likes
#c

Solod: Go can be a better C

Hacker News Top ↗ · 2026-07-13 Cached

Solod is a strict subset of Go that compiles to readable C11 with zero runtime, no GC, and rich standard library, enabling systems-level control for Go developers and familiar tooling for C programmers.

0 favorites 0 likes
#c

Fast Image & Video Fidelity Metrics in C, Zig

Lobsters Hottest ↗ · 2026-07-10 Cached

fmetrics is an open-source library in C and Zig for computing fast perceptual image and video fidelity metrics such as IW-SSIM, MS-SSIM, SSIMULACRA2, Butteraugli, and CVVDP, with validated correlation to human ratings.

0 favorites 0 likes
#c

@ryanlpeterman: "In C, you will spend one week to make it efficient, and then you will spend one year to make it correct In Haskell, yo…

X AI KOLs Following ↗ · 2026-07-01 Cached

A quote comparing the trade-offs between C and Haskell: C prioritizes efficiency first then correctness, while Haskell prioritizes correctness then efficiency.

0 favorites 0 likes
#c

Show HN: A statically typed, cross-platform, easily bootstrappable build system

Hacker News Top ↗ · 2026-06-30 Cached

BUSY is a lean, statically typed, cross-platform build system for GCC, Clang, and MSVC toolchains, designed for easy bootstrapping and minimal dependencies.

0 favorites 0 likes
#c

Show HN: Decomp Academy – Learn to decompile GameCube games into matching C

Hacker News Top ↗ · 2026-06-28 Cached

Decomp Academy is an interactive online platform that teaches users how to decompile GameCube games by writing byte-matching C code against real PowerPC assembly output from the 2001 MWCC compiler.

0 favorites 0 likes
#c

@Goutamdilesh: 10000+ Pages Programming Notes - FREE ❯ Java http://goalkicker.com/JavaBook/ ❯ Python http://goalkicker.com/PythonBook/…

X AI KOLs Timeline ↗ · 2026-06-25 Cached

A collection of free programming notes (PDFs) for Java, Python, JavaScript, SQL, DSA, C, and C++ from GoalKicker.

0 favorites 0 likes
#c

Show HN: Microcrad – Micrograd Reimplemented in C

Hacker News Top ↗ · 2026-06-17 Cached

Microcrad reimplements Karpathy's micrograd autograd engine in C, providing an educational scalar-valued automatic differentiation library with reference counting and a small neural network, aimed at understanding backpropagation at the scalar level.

0 favorites 0 likes
#c

@GYLQ520: People learning network programming often fall into the same pitfall—after finishing the theory, they still can't write code; after reading the source code, they don't know where to start making changes. Until I stumbled upon this open-source treasure tutorial: Build Your Own Redis, which guides you step by step from scratch to build a real Redis server. The roadmap is split into two parts…

X AI KOLs Timeline ↗ · 2026-06-16 Cached

This open-source tutorial 'Build Your Own Redis' teaches you to implement a fully functional Redis server from scratch using C/C++, with in-depth explanations of network programming, data structures, and low-level C, accompanied by code and detailed instructions.

0 favorites 0 likes
#c

Memory safety CVEs differ between Rust and C/C++

Hacker News Top ↗ · 2026-06-15 Cached

An analysis of how memory safety CVEs are reported differently in Rust vs C/C++, arguing that Rust's design reduces certain classes of vulnerabilities even when bugs exist.

0 favorites 0 likes
Next →
← Back to home

Submit Feedback