Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
connicpu
9 months ago
|
parent
|
context
|
favorite
| on:
Making memcpy(NULL, NULL, 0) well-defined
I know at least MSVC's memcpy on x86_64 still results in a rep movsb if the cpuid flag that says rep movsb is fast is set, which it should be on all x86 chips from about 2011/2012 and onward ;)
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: