@codesections Sort of :) If the compiler you're using says it's OK to do it in the manual, then it's OK to do it. gcc and clang and msvc could all handle it just fine. I'm not sure if tcc could, though.
@codesections It makes the compiler more simple. char name is a lot easier to deal with than some kind of string interning and pooling system. And these systems didn't have much memory by today's standards. A significant portion of it would be taken up by the identifiers themselves during linking.
@codesections Did you know that C compilers are still only required to support up to 4095 characters on a line of source code? If you have a line of code in your C program that's longer than that, the standard doesn't guarantee it has to be compiled correctly :)
It was so the compiler and linker didn't have to worry too much about identifier length, yeah. C also had this limitation during that era. That's why functions in the std library are named 'strcat', 'memcpy', etc.
Neither C nor Pascal compilers have had this limitation for decades.
Maybe you're thinking of this part of this talk: https://www.youtube.com/watch?v=kZRE7HIO3vk&t=18m9s
@rostiger @thomasorus (Unless some other library or piece of code specifically asked you to allocate a buffer of a certain size, and you failed to do it. But copying or printing a formatted string into a buffer that's too small shouldn't cause a corruption, unless you are using the bad C string functions.)
@stragu no no lol. just that Texas is either third or first place in the U.S. for transitioning to renewable energy production (whether you count hydroelectric or not). so it's not like they aren't trying to transition.
@stragu @neauoire also, I'm not blaming wind power for the problem (it definitely wasn't — in fact, it was operating better or about what is expected for this time of the year, according to the authorities) but the grid would still have had problems. This was an organizational failure and a failure to winterize in general.
@khm I remember being able to flip some bits in the FireGL drivers circa 2003 to get them to run with Radeon cards, which gave them the "real" OpenGL implementation that worked with CAD and other non-game GL software.
Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.