Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
unwind
8 months ago
|
parent
|
context
|
favorite
| on:
Reflecting on a Year of Gamedev in Zig
I would (coming from a C background) guess that `allocPrint()` owes its name from the C standard library function(s) `as(n)printf()`[1]. At least that would make sense, the naming is modernized by being made longer, to gain clarity.
[1]:
https://man7.org/linux/man-pages/man3/asprintf.3.html
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1]: https://man7.org/linux/man-pages/man3/asprintf.3.html