

So glad they made the sane move and fixed std::env::home_dir()
. The previous situation of having it deprecated due to fairly insignificant reasons, while recommending an abandoned crate instead was just silly.
So glad they made the sane move and fixed std::env::home_dir()
. The previous situation of having it deprecated due to fairly insignificant reasons, while recommending an abandoned crate instead was just silly.
Well COBOL hasn’t completely gone away… I don’t think anyone expects C to become completely extinct; just very legacy.
D missed its chance. Zig is clearly going to be the successor to C, for people who don’t want to use Rust.
You can transform any recursive algorithm into iterative pretty easily though; just create a manual stack.
The rule definitely makes sense in the context of C code running in space. Unbounded recursion always risks stack overflow, and they probably don’t have any tooling to prove stack depth bounds (you totally can do that, but presumably these standards were written in the 1500s).
Sometimes I prefer video… But usually not.
E.g. this channel has fantastic videos: https://youtube.com/@therustybits