News for hackers. Stuff that matters.
Re:Rust in the Android Platform by scoutt on Wednesday April 07, 2021 @10:27AM (#26725437)
>Every feature you have in C++, Rust does it better.

IDK. I miss variadic functions (not macros) and being able to do certain simple things without resorting to strange paradigms, like arbitrarily closing an std::fs::File without needing to go out of scope or calling drop. Things like that.

Re:Rust in the Android Platform by 3836293648 on Wednesday April 07, 2021 @12:10PM (#26726959)
How is calling drop any different from calling close?
Re:Rust in the Android Platform by scoutt on Wednesday April 07, 2021 @01:34PM (#26728097)
For the practical case is not different. But is not coherent. It’s weird. And opening/closing files is an historical concept.

Why “drop” is the opposite of “open”? Let’s change “open” for “lift” or “notdrop”.