4 ms·
Of course it's undefined behavior. It's also a famous issue with GCC optimization. This is another reason I look forward to the day when C is a legacy languag
by Animats 12y ago
Of course it's undefined behavior. It's also a famous issue with GCC optimization.
This is another reason I look forward to the day when C is a legacy language.
- spoiler 12y agoAs it stands now, C might outlive most, if not everyone in this thread. :-) Although, I don't mind C. I work in it every day and I've comfortable with it. A colleague of mine (who works primarily in Python) teased me it's because I have developed a Stockholm syndrome.
- pjmlp 12y agoAt least Microsoft is helping achieving that. However it doesn't help that C++ allows for a C subset. We are several decades away from achieving that goal.