Remix.run Logo
cmrx64 11 hours ago

CPS is an intermediate representation, humans shouldn’t have to tolerate it.

skew-aberration 5 hours ago | parent [-]

There are languages with first class continuations, is if every function is async and every call is await. In that context, everything can be stack allocated and every reference to stack memory stays valid always. The cost is that stack is now non-linear / not a contiguous array.