Hacker News new | ask | show | jobs
by mlindner 1769 days ago
This author doesn't even seem to know C properly so it's hard to accept their reasoning.

This in Rust:

  let mut role: Role = mem::zeroed();
Is not the same as this in C:

  struct role r;
C does not zero initialize.