Group-By from Scratch
jakevdp.github.io
jakevdp.github.io
Are there any standard idioms or design patterns for elegantly/correctly implementing relational operations (like group-by and join) in procedural languages like C?
[0] compare how the Python VM implements list comprehensions to understand the general strategy.
[1] https://db.inf.uni-tuebingen.de/publications/2003/grust/mona...
[2] the tricky part about group-by being fiddling with the bindings. cf https://www.microsoft.com/en-us/research/wp-content/uploads/...
[3] squinting enough, joins (esp. equijoins) are just really fancy zips.