Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Vaqt: High-precision date/time in C (github.com/nalgeon)
7 points by ingve 8 months ago | hide | past | favorite | 1 comment


Unless there is a reason they can't, I feel like libraries like this should use existing abstractions where possible. In this case: struct timespec on Unix systems. Defining a new "Time" struct that has the same members just creates a usage barrier that needn't be there.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: