Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
eska
22 hours ago
|
parent
|
context
|
favorite
| on:
Everyone should know SIMD
I don’t know zig syntax, but wouldn’t it be possible to put this common pattern into a macro and simplify it to mostly a lambda on V?
help
dnautics
22 hours ago
[–]
no macros in zig, but yes you could metaprogram it. types are first class values at compile time so you could do that sort of specialization if you wanted.
reply
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: