Re:Low-Level Optimization with Zig
by Simran-B on Saturday June 07, 2025 @01:07PM
(#44210941)
It's not annotation noise however, it's syntax noise.
[ Parent
| on HN ]
Re:Low-Level Optimization with Zig
by johnisgood on Saturday June 07, 2025 @03:07PM
(#44211833)
Thanks for the correction. Is it really not "annotation"? What makes the difference?
You're not providing extra information to the compiler, clarifying the intent, but merely follow the requirements of the language when writing . to infer the type or @ to use a built-in function.
Re:Low-Level Optimization with Zig
by johnisgood on Sunday June 08, 2025 @03:50AM
(#44215405)
Thank you. My previous comment got down-voted despite it being a legitimate question, weird times.