Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment orderThis is similar to an approach I proposed in 2012.[1] Microsoft: "Rather than changing the run-time representation of a pointer in order to support bounds checking, in Checked C the programmer associates abounds expression with each_Array_ptr<T>-typed variable and member to indicate where the bounds are stored. The compiler inserts a run-time check that ensures that deferencing an_Array_ptr<T>is safe (the compiler may optimize away the runtime check if it can prove it always passes). Bounds expressions consist of…
From the technical paper: Checked C adds new types to C: • ptr<T>, the checked pointer to singleton type, • array_ptr<T>, the checked pointer to array type, • T checked[N], the checked array type, Many people have been down that road. GCC had "fat pointers" for subscript checking years ago.[1] That never caught on. Walter Bright had a proposal.[2] I had a proposal. Microsoft had "Managed C++". It's technically possible, but retrofitting old code rarely happens. [1] http://williambader.com/bounds/example.html [2]…
Checked C: int a[5] = { 0, 1, 2, 3, 4}; _Array_ptr<int> p : count(5) = a; // p points to 5 elements. My proposal for C: int a[5] = { 0, 1, 2, 3, 4}; int p[..] = a; // p points to 5 elements. https://www.digitalmars.com/articles/C-biggest-mistake.html https://github.com/Microsoft/checkedc/wiki/New-pointer-and-a...
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 2
- Total points
- 341
- Total comments
- 237
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2016-06-17 | Checked C | sssilver | 1 | 0 |
| 2016-06-17 | Microsoft Open Sources a safer C | Aldo_MX | 1 | 0 |
| 2016-06-18 | Checked C: extension of C that adds bounds checking to C from Microsoft | vikas0380 | 2 | 0 |
| 2018-03-14 | Checked C: extension to C that adds static and dynamic checkingFirst breakout | ingve | 129 | 92 |
| 2018-03-15 | Microsoft Checked C | kryptiskt | 1 | 0 |
| 2019-08-06 | Checked C | albertoCaroM | 4 | 0 |
| 2021-02-19 | Checked CHall induction · Best thread | tosh | 175 | 133 |
| 2022-12-21 | Checked CLatest 20+ point return | soheilpro | 28 | 12 |
