News for hackers. Stuff that matters.
Re:Would Rust Secure Curl? by p-squared on Saturday January 16, 2021 @10:02PM (#25807680)
Maybe Rust makes newtypes _easy_, but certainly C supports similar idioms by way of wrapping data in a unique struct.
Re:Would Rust Secure Curl? by steveklabnik on Sunday January 17, 2021 @12:57AM (#25808536)
The only significant difference is that you have to give the inner value a name in C, but you don't in Rust. It's a pretty marginal advantage.