2 ms·
The Tail Call attribute is a huge improvement. TCO is a requirement for correctness and now we can enforce that at compile time!
by fire_lake 2y ago
The Tail Call attribute is a huge improvement. TCO is a requirement for correctness and now we can enforce that at compile time!
- runevault 2y agoI wish every language with TCO supported some way to tell the compiler "if this cannot be optimized away I want an error." All it takes is a moment of inattention to screw up.