Empirical and analytic study of stack versus heap cost for languages with closures | Synapse