3 ms·
Maybe I'm too used to the functional meal and think that the convolutions have more worth than harm. I think it's a simple and solid view, pushing away side eff
by agumonkey 11y ago
Maybe I'm too used to the functional meal and think that the convolutions have more worth than harm. I think it's a simple and solid view, pushing away side effects, and types to have a little sanity when combining the pieces.
None is more true than the other. CPU didn't have "stack" before people wanted nice recursion I believe, and there are runtimes that don't use them.
With time I started to go away from low level and stay in logic land thinking it can be represented in many ways on the metal. But in school I was still thinking with hardware first. I don't think I could ever have envisioned coroutines or backtracking this way.
- sago 11y agoContinuations work the same way without a stack, incidentally. You are still saving the FP, either way. I'm not aware of languages that don't have a FP of some kind. Interesting on the last point, that you'd find coroutines harder to explain with 'save the current place you're executing, go do something else, return to that place when you need to do more'.