Chris Wellons personal blog
Closures as Win32 Window Procedures
Back in 2017 I wrote about a technique for creating closures in C using JIT-compiled wrapper. It’s neat, though rarely necessary in real programs, so I don’t think about it often. I applied it to qsort , which sadly accepts no context pointer. More practical would be working around insufficient custom allocator…
- Points
- 100
- HN comments
- 28
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringSystems & Performance2025
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Dec 13, 2025 | Closures as Win32 Window Procedures by ibobev | 100 | 28 |