Re:Python, OCaml, and Machine Learning (2020)
by bjoli on Sunday August 08, 2021 @09:01AM
(#28106377)
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).
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).