Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
apitman
11 months ago
|
parent
|
context
|
favorite
| on:
Show HN: Tokamak – Server-side framework for Zig
Interesting. What mechanism does Zig use to hook up function argument dynamically depending on what is declared in the function (or am I reading that wrong)? Not sure I've ever seen something quite like it.
cztomsik
11 months ago
[–]
It's using comptime inline for, see
https://github.com/cztomsik/tokamak/blob/main/src/injector.z...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: