Resource Management in perspective: the Stack

An archetypical analogy of a stack data structure with a stack of plates.

Up to now, we have been focus­ing on where memory man­age­ment actu­ally occurs, the heap. But this is not the only memory seg­ment rel­ev­ant to a pro­gram. Indeed, in all garbage col­lec­ted tech­niques, there’re oth­er play­ers hav­ing a rel­ev­ant role in the game: the mutat­or and the root set. In the ref­er­ence coun­ted garbage collection, […]

On Syntax and Semantics, or what Python didn’t get right

C vs Python or how Python really adds nothing revolutionary to the field

Some time ago, per­haps even as far as a year ago, I was just start­ing to watch con­fer­ences and lec­tures in my extens­ively use­ful you­tube account, on top­ics like λ‑Calculus or Category Theory, when on a con­fer­ence by Bartosz Milewski on Categories, he threw a bril­liant sen­tence, that speaks some­thing like this: «Humans should­n’t downgrade […]