←back to thread

218 points signa11 | 1 comments | | HN request time: 0s | source
Show context
akdev1l ◴[] No.43680726[source]
> Microsoft has unfortunately chosen to neglect C for a long time, its compilers dragging far behind the rest of the pack.

Is this still true? MSVC is pretty good at compiling C++ nowadays

replies(6): >>43680811 #>>43680812 #>>43680819 #>>43681047 #>>43681159 #>>43681236 #
qsort ◴[] No.43680812[source]
I think he's referring to C specifically, not C++. It's true that modern versions of MSVC are compliant (and they're also typically faster at implementing features than gcc and clang), but for the longest time there were subtle differences in their C library. To this day I don't think they support VLAs, which are technically standard C (At least until recently, I'm not sure about the latest versions, hopefully someone more knowledgeable can say more).
replies(1): >>43686097 #
1. akdev1l ◴[] No.43686097[source]
I see. I kind of assumed improving the C++ compiler required improving the C parts as well.

VLA situation seems complex: https://stackoverflow.com/questions/55696680/in-which-versio...