News for hackers. Stuff that matters.
Re:Tail Call Optimization: The Musical by pessimizer on Sunday January 08, 2023 @11:00AM (#34300154)
> in Erlang, preemption happens at function calls

I didn't think this was true. The secret sauce was that Erlang preempted on reduction counts, so as a result nothing has any responsibility to yield itself.

edit: ah, literally no difference between the two in the implementation.

There are no comments on this comment yet.