3 ms·
Here is one: https://github.com/TakekazuKATO/TailRec.jl https://github.com/TakekazuKATO/TailRec.jl It works by inspecting the code and rewriting a function to
by ted_dunning 5y ago
Here is one:
https://github.com/TakekazuKATO/TailRec.jl https://github.com/TakekazuKATO/TailRec.jl
It works by inspecting the code and rewriting a function to turn tail calls into loops.
The interesting bit is that it was very easy to write because of the strong macros in Julia.
- adenozine 5y agoThis is eye opening. I might take a look at this in depth and try Julia again.