Re:Flix – A powerful effect-oriented programming language
by rixed on Friday July 11, 2025 @02:40PM
(#44535590)
What are the run time costs being refered to here?
[ Parent
| on HN ]
Re:Flix – A powerful effect-oriented programming language
by jorkadeen on Saturday July 12, 2025 @06:14AM
(#44540877)
In the uncommon case, some stack frames must be heap allocated.
This is unavoidable when (a) the runtime enviroment, here the JVM, does not support tail calls, and (b) the language wants to guarantee that _any_[1] tail call does not grow the stack.
[1] Any call. Not just a call to the same function.