Closed tobia closed 6 years ago
It would seem so. I don't have a Rust environment anymore, so I cannot test it.
But if it has really been updated to 1024, then it's not a low limit anymore and the entire sentence should be rewritten.
What I mean is that many languages have a stack limit between 1,000 and 10,000 calls, depending on runtime parameters and on the specific recursive calls being made (stack frame size.) This would make recursion in the Rust macro system a fully generic programming technique, like it is in Scheme and other languages.
Ref. https://github.com/rust-lang/rust/blob/master/src/libsyntax/ext/expand.rs#L912