Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can use VS for C just fine on Windows, VS 2019 has full support for C89 and almost complete C99 support. Next iteration of VS 2019 will even add support for _Generic. But, if you want to write portable code to other operating systems, I suggest to build your code with both VS and GCC.


To the extent required by ISO C++, for the rest there is first class support for clang.

The latest version of the VS2019 installer already packages clang 10.


Do you have a source for the news on _Generic? I can't find any.

If it is true, it would be amazing. So many of my APIs are unwieldy because of Microsoft's refusal to support this one feature.


Here you go https://developercommunity.visualstudio.com/idea/443508/msvc...

Read the comments, it should be available in the next VS2019 update.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: