Toots for thephd@pony.social account

Written by Björkus "No time_t to Die" Dorkus on 2025-01-24 at 04:04

Mmmmmnnnn, data.... https://thephd.dev/the-big-array-size-survey-for-c-results

=> More informations about this toot | View the thread

Written by Björkus "No time_t to Die" Dorkus on 2025-01-18 at 04:30

=> View attached media

=> More informations about this toot | View the thread

Written by Björkus "No time_t to Die" Dorkus on 2025-01-18 at 04:29

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

Written by Björkus "No time_t to Die" Dorkus on 2025-01-15 at 21:43

I don't know what's wrong with me but it's definitely getting worse !

=> More informations about this toot | View the thread

Written by Björkus "No time_t to Die" Dorkus on 2025-01-15 at 19:18

Goddamn.

Poland and US represent, in this survey.

=> View attached media

=> More informations about this toot | View the thread

Written by Björkus "No time_t to Die" Dorkus on 2024-12-29 at 19:41

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

Written by Björkus "No time_t to Die" Dorkus on 2024-12-26 at 17:19

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

Written by Björkus "No time_t to Die" Dorkus on 2024-12-23 at 21:06

cohost data export is 23.9 MB.

Christ, I didn't post that much, did I....?

=> More informations about this toot | View the thread

Written by Björkus "No time_t to Die" Dorkus on 2024-12-20 at 17:05

Despite the constant login issues I kinda miss cohost.

Damn.

=> More informations about this toot | View the thread

Written by Björkus "No time_t to Die" Dorkus on 2024-12-20 at 05:45

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

Written by Björkus "No time_t to Die" Dorkus on 2024-12-19 at 20:02

typst is the future of serious document creation.

=> More informations about this toot | View the thread

Written by Björkus "No time_t to Die" Dorkus on 2024-12-18 at 17:06

(* chuckles *) I'm in danger,

=> View attached media

=> More informations about this toot | View the thread

Written by Björkus "No time_t to Die" Dorkus on 2024-12-17 at 22:54

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

Written by Björkus "No time_t to Die" Dorkus on 2024-12-15 at 22:19

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

Written by Björkus "No time_t to Die" Dorkus on 2024-12-03 at 22:03

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

Written by Björkus "No time_t to Die" Dorkus on 2024-11-25 at 19:00

When will this stuff kick in. My brain needs a hard reset already.

Fuck.

=> More informations about this toot | View the thread

Written by Björkus "No time_t to Die" Dorkus on 2024-11-13 at 16:37

This poll is definitely not going the way I expected to, lol.

=> More informations about this toot | View the thread

Written by Björkus "No time_t to Die" Dorkus on 2024-11-11 at 19:07

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

Written by Björkus "No time_t to Die" Dorkus on 2024-11-11 at 18:54

"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

Written by Björkus "No time_t to Die" Dorkus on 2024-11-11 at 18:51

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

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109292420898970172
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
425.25275 milliseconds
Gemini-to-HTML Time
5.62911 milliseconds

This content has been proxied by September (ba2dc).