Kinda weird, since one would expect the C-runtime be as low level as it gets. Heck, most software makes this assumption, so that has such a huge negative impact on the whole industry.
-
-
-
The C runtime is not low-level at all. I'm not sure why anyone would think that?
- Show replies
New conversation -
-
-
Ever since i tried zig i don't link the crt at all anymore. Have to implement the mem functions and custom allocators etc but that's a small price to pay for a way smaller binary without the shitty API that the crt has.
-
Why "since .. zig"?
- Show replies
New conversation -
-
-
I recently wrote the classic code that you read the file size using ftell and fseek and I was getting different results than the actual file size. When I read then entire file, fread returned the correct number of bytes. No multithreading involved...
-
I mean it's ridiculous to begin with that there isn't a CRT function for "what is the size of this file". It's just a bad API - it should have be EOL'd a long time ago, but unfortunately there is no new alternative, so...
- Show replies
New conversation -
-
-
Tell that to malware authors. Every time I reverse engineer something I learn a few new CRT functions.
-
Amateurs!
End of conversation
New conversation -
-
-
n00b question: is 'native' in this context referring to direct operating system calls? E.g the Windows ones, the Unix ones etc?
-
Yes. Like instead of fopen(), call CreateFileW.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.