Proposal: Try to write a C compiler that violates programmers' expectations in the most extreme way possible while still being std compliant
-
-
Replying to @mcclure111
Too easy. More interesting if you constrain to POSIX's requirements & 2s complement. Then you have to find subtle stuff.
1 reply 0 retweets 2 likes -
Replying to @RichFelker @mcclure111
size_t is two bytes, void* is 4, but function pointers are 8
2 replies 0 retweets 0 likes -
That can't possibly be std compliant. Right?
1 reply 0 retweets 0 likes -
Sure it can, it's not terribly wacky, just very limiting since you're stuck with tiny arrays.
2 replies 0 retweets 1 like -
Doesn't necessarily make your arrays smaller, but it sure limits your address space
1 reply 0 retweets 0 likes
It means the max length of an array of type T is 65535/sizeof(T).
8:16 PM - 19 Mar 2017
0 replies
0 retweets
0 likes
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.