News for hackers. Stuff that matters.
Re:Speed of Rust vs. C by gridspy on Saturday March 13, 2021 @04:32AM (#26445297)
> in C I'd be tempted to reuse a buffer allocated for one purpose

... In rust I'd just declare an enum for this. Enums in Rust can store data. In this way they are like a safe union.

There are no comments on this comment yet.