logoalt Hacker News

jezek2today at 2:25 PM4 repliesview on HN

I wish open source projects would support MingW or at least not actively blocking it's usage. It's a good compiler that provides an excellent compatibility without the need of any extra runtime DLLs.

I don't understand how open source projects can insist on requiring a proprietary compiler.


Replies

delta_p_delta_xtoday at 4:03 PM

There are some pretty useful abstractions and libraries that MinGW doesn't work with. Biggest example is the WIL[1], which Windows kernel programmers use and is a massive improvement in ergonomics and safety when writing native Windows platform code.

[1]: https://github.com/microsoft/wil

show 1 reply
sitzkriegtoday at 3:48 PM

if you want to link msvc built libraries (that are external/you dont have source), mingw may not be an option. for an example you can get steamworks sdk to build with mingw but it will crash at runtime

quikoatoday at 4:58 PM

Agreed I also like to see more support for MingW especially from open source projects. Not even a passing mention in this blog post.

forrestthewoodstoday at 4:50 PM

Eww no. MingW is evil and no project should ever use it.

Just use Clang + MSVC STL + WinSDK. Very simple.

show 1 reply