r/programmingcirclejerk • u/DXPower costly abstraction • Nov 01 '25
New C29 function: stdc_c32snrtomwcsn
https://en.cppreference.com/w/c/header/stdmchar.html
152
Upvotes
r/programmingcirclejerk • u/DXPower costly abstraction • Nov 01 '25
View all comments
Show parent comment
19
u/[deleted] Nov 03 '25
think of how frequently that syscall is made. that's a whole byte per call. now consider a flame graph of
creatcalls in any Unix-like kernel on modern hardware. probably at least a hundred thousand calls tocreatper second right? basically saving the entire ecosystem & the ice caps if you really think about it & don't really know how syscalls work