Hacker News new | ask | show | jobs
by hotpotat 320 days ago
> You must carefully not leaving any recursive functions not annotated with #[recursive]

Isn’t the same true of forgetting #[stacksafe]?

This reminds me of certain Haskell patterns where you selectively make some operations strict instead of lazy for similar reasons. I’m glad this library exists, but I’m sad the Rust compiler itself doesn’t have better support for recursion.