News for hackers. Stuff that matters.
Re:Building the Rust Compiler with GCC by j16sdiz on Monday July 07, 2025 @07:08AM (#44488972)
recursive function can be inline when unrolled. This is a valid optimization.

Google "llvm inline recursion". It exists. It should works. Fibonacci is the standard test case.

Re:Building the Rust Compiler with GCC by 1718627440 on Monday July 07, 2025 @09:02AM (#44489957)
But not every recursive function can be inlined (without a secondary stack).