Y
Hacker News
new
|
ask
|
show
|
jobs
by
tinco
3643 days ago
What idiomatic C code uses thunks? Is this an interpreter/runtime for a functional language or something? Or do some optimizers introduce thunks?
2 comments
loeg
3643 days ago
`qsort_r(3)` in libc, for example. It's not uncommon in idiomatic C code.
link
yuhong
3643 days ago
This likely calls a UEFI protocol, which are typically called this way.
link