Tailcall is a Rust library that provides stack-safe tail calls on stable Rust. It uses a lightweight trampoline runtime (Thunk) along with a proc-macro attribute `#[tailcall]` that transforms recursive functions. The macro can lower simple self-recursive functions into a direct loop (zero overhead), while more complex cases (mutual recursion, borrowed state) fall back to a type-erased fixed-size closure runtime. The core runtime is `no_std` compatible and uses inline storage for closures without heap allocation. The workspace includes the main `tailcall` crate (runtime), `tailcall-proc-macro` (proc-macro implementation), and integration test crates for both `std` and `no_std` environments, plus benchmarks demonstrating performance competitive with handwritten loops.
This repository is a community-driven collection of programming exercise solutions, organized as a numbered roadmap (00 to 50) covering fundamental to intermediate topics. Each exercise is solved in multiple programming languages (Python, JavaScript, Java, C++, Go, Kotlin, etc.) by different contributors. The code consists of standalone scripts that demonstrate language features such as recursion, data structures, exception handling, async programming, regular expressions, design patterns (Singleton, Decorator), and SOLID principles. The repository is not a cohesive application or library; it is an educational resource for learning and practicing programming concepts across languages. The quality of solutions varies widely, with some files containing errors or being incomplete. The project relies on community contributions and lacks centralized testing or dependency management.