Top all-time · #9264
lochsh
Personal blog · mcla.ug/blogprogrammingsystemshardware
lochsh is a personal blog at mcla.ug about programming, systems and hardware. Since 2016, 8 different Hacker News readers have linked it 21 times, most often “C++ is not a superset of C”. It is still writing: the last post was on 2026-10-01, and you can follow it by feed.
Too few sampled comments (4) to say how often HN recommends it.?
Why HN links it
HN readers link this post to argue that C++ is not a superset of C, citing differences such as const, auto, variable length arrays and designated initializers. One commenter calls it a good list of differences.
Summarised by Claude from a sample of 4 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- C++ is not a superset of C4 people · 4 mentions · first linked 2019-09-03
- C++20 concepts are not like Rust traits2 people · 2 mentions · first linked 2019-09-04
- Designing a RISC-V CPU, Part 1: Learning hardware design as a software engineer2 people · 2 mentions · first linked 2021-02-17
- Designing a RISC-V CPU, Part 2: Successfully executing (some) instructions2 people · 2 mentions · first linked 2021-03-02
What Hacker News says?
https://mcla.ug/blog/cpp-is-not-a-superset-of-c.html
Comment linking /blog/cpp-is-not-a-superset-of-c.html
on “What does the ??!??! operator do in C?”Submitted Designing a RISC-V CPU, Part 1: Learning hardware design as a software engineer as a story · 150 points
HN discussionOthers disagree: https://mcla.ug/blog/cpp-is-not-a-superset-of-c.html
Comment linking /blog/cpp-is-not-a-superset-of-c.html
on “Beej’s Guide to C Programming [pdf]”Submitted How to flash an LED: writing ARM assembly for an STM32 microcontroller as a story · 122 points
HN discussionIt is not and never was. Look at for ex. what const means in each, or auto. Or variable length arrays (feature that doesn't exit in C++). Or designated initializers that C++ didn't have for a long time. Here is a good list of differences: https://mcla.ug/blog/cpp-is-not-a-superset-of-c.html
Comment linking /blog/cpp-is-not-a-superset-of-c.html
on “C++20 has been approved”Submitted C++ is not a superset of C as a story · 107 points
HN discussion> The most crucial thing to understand is that C++ 0x Concepts were a significantly more powerful feature than the C++ 20 Concepts you got. This makes a bit more sense than what you originally wrote. Though regardless if C++ 0x concepts were more powerful, C++ 20 concepts as they exist today are strictly more powerful than Rust traits. You admit that yourself when you say that Rust traits cannot model disjunctive bo…
Comment linking /blog/cpp20-concepts-are-not-like-rust-traits.html
on “The type system is a programmer's best friend”Submitted Designing a RISC-V CPU, Part 2: Successfully executing (some) instructions as a story · 36 points
HN discussionSubmitted Designing a RISC-V CPU, Part 1 as a story · 21 points
HN discussionSubmitted Breaking CPython for Fun and Mischief as a story · 4 points
HN discussionSubmitted C++20 concepts are not like Rust traits as a story · 4 points
HN discussionSubmitted What actually is object oriented programming? Where does Rust fit in? as a story · 4 points
HN discussionSubmitted Intro to Quantum Computing as a story · 3 points
HN discussionSubmitted Designing a RISC-V CPU, Part 2: Successfully executing (some) instructions as a story · 3 points
HN discussionSubmitted How to flash an LED: writing ARM assembly for an STM32 microcontroller as a story · 3 points
HN discussionSubmitted Let's break CPython together, for fun and mischief as a story · 2 points
HN discussionSubmitted Designing a RISC-V CPU, Part 1: Learning hardware design as a software engineer as a story · 2 points
HN discussionSubmitted Why can't I pass std:vector<Child*> as std:vector<Parent*>? as a story · 2 points
HN discussionSubmitted Emulating an STM32F4 in QEMU to test ARM assembly as a story · 2 points
HN discussionSubmitted Let's get rusty: Fast and safe systems programming with Rust as a story · 2 points
HN discussionSubmitted Breaking CPython for Fun and Mischief as a story · 1 points
HN discussion