Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kevin_thibedeau
59 days ago
|
parent
|
context
|
favorite
| on:
I built a native Windows Todo app in pure C (278 K...
The standard allows memset/memcpy to be replaced by inline code. There is no need to use non-standard extensions to get a performance boost.
userbinator
59 days ago
[–]
That's how the MSVC intrinsics work. Turn on the option and memset/memcpy, among others, gets replaced automatically:
https://learn.microsoft.com/en-us/cpp/preprocessor/intrinsic...
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: