Follow

code, no image description 

i furgot the extent to which printf is not type safe in C

code 

imo, this should be a compile time error, but since C can’t do that, it should at least cause a runtime error

girls whose intuition was ruined by the video on type safe printf in Idris

code 

@aescling they should invent a version of C where you can check for that

re: code 

@aescling Is there a common ABI where you could even detect that at runtime?

re: code 

@aschmitz @aescling i think amd64 sysv abi kinda-sorta might allow catching some cases of it? they pass an upper bound on the number of vector registers used through %al for variadic calls.

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.