Functional Go?
summary
Attempts to port functional patterns to Go produce concrete results: a recursive quicksort works but is 10× slower than a for loop until tail calls are faked with goto and performance improves to about 3× slower; map and functor-like APIs get implemented by a Funk wrapper and linked method chains; lack of generics forces use of empty interfaces and reflection so the library requires reflection and type checks internally, but the exported API stays reflection‑free; overall it is doable for clarity and API ideas but not for raw performance.
AI-written summary · about








