Proposal: Try to write a C compiler that violates programmers' expectations in the most extreme way possible while still being std compliant
-
-
Doesn't necessarily make your arrays smaller, but it sure limits your address space
-
It means the max length of an array of type T is 65535/sizeof(T).
End of conversation
New conversation -
-
-
Unless you meant you'd want to limit memory allocation to two bytes
-
yep - my pet gotcha of the C standard, designed to support memory systems that never actually existed
-
well, to ~65000 bytes
-
… limit allocation to sizes addressable by two bytes*
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.