Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rkaehn
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
rkaehn
2y ago
Regarding the footnote about the temperature encoding: it seems to be Gray code
2.
▲
by
rkaehn
3y ago
The tasks themselves come from a pool and are reused automatically, so no call to `free` is needed there. As for the executor, destroying it is a bit involved, because you need to wait for the currently executed task to finish before joinin
3.
▲
by
rkaehn
3y ago
The library is an "stb-style" header-only library, so the header has two modes: when you define CR_TASK_IMPL, it includes the implementation (starting from line 20), otherwise it just includes declarations (the first 19 lines). Th
4.
▲
Show HN: Async tasks in 350 lines of C
(github.com)
146 points
by
rkaehn
3y ago
|
52 comments