Mmmmmnnnn, data.... https://thephd.dev/the-big-array-size-survey-for-c-results
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
B i g . D a t a .
=> View attached media | View attached media | View attached media | View attached media
=> More informations about this toot | View the thread
I don't know what's wrong with me but it's definitely getting worse !
=> More informations about this toot | View the thread
Goddamn.
Poland and US represent, in this survey.
=> More informations about this toot | View the thread
I am not having a good day learning about incomplete types and, specifically, incomplete array types.
https://godbolt.org/z/168YoGbWe
=> More informations about this toot | View the thread
Once again bitten by the lack of search here because I don't want to reimplement a string find function for VLAs to prove a point.
Eugh.
=> More informations about this toot | View the thread
cohost data export is 23.9 MB.
Christ, I didn't post that much, did I....?
=> More informations about this toot | View the thread
Despite the constant login issues I kinda miss cohost.
Damn.
=> More informations about this toot | View the thread
Read and comment: the C defer TS (unpublished draft)
Done completely in typst -- this looks official as hell, too.
Thanks again @typst -- https://drive.google.com/file/d/19ofx44RkoZf2t96C1EK9Gh3Akb8xKjVN/view
=> More informations about this toot | View the thread
typst is the future of serious document creation.
=> More informations about this toot | View the thread
(* chuckles *) I'm in danger,
=> More informations about this toot | View the thread
The damn survey has 950+ responses. If I get another burst it'll hit 1,000.
There's no way I can manually very every single entry, lol. Guess I'll have to use some basic general-checking techniques in a python script.
https://pony.social/@thephd/113659160563714508
=> More informations about this toot | View the thread
This is closing in 5 days. Add your response to the mix as soon as possible, or risk never being heard in the Official Vote™!!
https://thephd.dev/the-big-array-size-survey-for-c
=> More informations about this toot | View the thread
Someone with FreeBSD crack open a text editor and input:
int main () {
return (int)(char32_t)0;
}
and tell me if you can ${cc} -std=c17 file.c -o file
=> More informations about this toot | View the thread
When will this stuff kick in. My brain needs a hard reset already.
Fuck.
=> More informations about this toot | View the thread
This poll is definitely not going the way I expected to, lol.
=> More informations about this toot | View the thread
We got an enormous security win in C (C++ already had it) by allowing null pointer + 0 as a valid entry into C standard functions and by no longer letting it be UB to add 0 to null, removing the need for a wide variety of standard library shims in C2y written by people sick of back-propagation of null-check elimination.
There's more to do.
=> More informations about this toot | View the thread
"Does this mean we shouldn't try?"
No, particularly in C where we've done ~nothing to improve security except remove gets. In fact, improving <stdckdint.h>, adding a pointer + size type, and several other bogstandard basic things will drastically improve C's chances of not making dumb mistakes.
=> More informations about this toot | View the thread
To be clear:
I wrote this after being asked whether or not I'd spent time considering completely solve dangling resource and memory safety in C (in relation to the defer proposal).
Yes I have thought about it. No it's not possible for deployed C code, in theory and practice.
=> More informations about this toot | View the thread
=> This profile with reblog | Go to thephd@pony.social account This content has been proxied by September (ba2dc).Proxy Information
text/gemini