3 ms·
I had to port a bit of ocaml code to rust a year or two back, and the lack of a switch to enable sibling recursion (tail calls, but LLVM limits it to equally-ty
by bjoli 5y ago
I had to port a bit of ocaml code to rust a year or two back, and the lack of a switch to enable sibling recursion (tail calls, but LLVM limits it to equally-typed-finctions) in debug mode made me want to scream.
The code I ported was not complex, and ran on the first try. Except it only worked in release mode. So I had to rewrite it using loop which made my inner ocamler sad (and the code a lot uglier).