Martin Uecker personal blog
Generic Containers in C: Safe Division Using Maybe
Martin Uecker, 2025-08-10 I discuss the implementation of type and bounds safe generic containers in C. Previously, I discussed a span type , bounds checking using arrays . and a a vector type . This time, I will discuss maybe inspired by Haskell. This type can used to return a value that may not exist, e.g. because…
- Points
- 114
- HN comments
- 61
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringProgramming Languages2025
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Aug 11, 2025 | Generic Containers in C: Safe Division Using Maybe by uecker | 114 | 61 |