Open capr opened 5 years ago
also, does Terra have tail calls?
Found the answer: I make stubs and then I call func:resetdefinition()
to add the actual body.
re tail calls, I don't think Terra has any specific support other than what would be provided by LLVM (e.g. https://stackoverflow.com/q/18603349/188046).
@elliottslaughter just tested this today and it seems that the LLVM tail call optimization kicks in when it can.
Hello,
When building a terra function with
lex:terrastats()
, how do you handle recursivity (inside references to a symbol that is the function that is being built)?Thanks!