News for hackers. Stuff that matters.
Re:Stupid Smart Pointers in C by MathMonkeyMan on Tuesday March 18, 2025 @01:18AM (#43396021)
Parent post said Rust.

edit: TIL: Looks like the [drop trait][1] is an opt-in destructor that the Rust compiler understands.

[1]: https://doc.rust-lang.org/nomicon/dropck.html

There are no comments on this comment yet.