Anmol Sarma personal blog

Stop Memsetting Structures

TL;DR: Use C99’s designated initializers instead. Because it’s 2019! Edit: This post was discussed on Hacker News, Lobste.rs and /r/c_programming. It has been updated to address some of the concerns raised by commenters. One of the little things that annoy me when reading code is the unnecessary use of memset() to…
Points
191
HN comments
263
Submissions
1
Cited by
0 commenters

Software EngineeringSystems & Performance2019

On Hacker News

SubmittedTitle on HNPointsComments
Apr 27, 2019Stop Memsetting Structures by unmole191263

Related posts from the same era