<div dir="ltr"><div><div><div>Hi,<br>I think I can at least answer why the Rust project prefers to use mingw-w64-win32threads:<br></div>1. It does not inject dependency on libwinpthread.dll, which is nice.<br></div>2. Those who tried building LLVM with mingw-w64-pthreads, had reported significant slowdown of the resulting Rust compiler (as compared to one linked to LLVM compiled with the win32threads flavor).   Profiling seemed to point towards libpthreads' implementation of mutex.  I had checked the source, and indeed, it looked not very efficient (<a href="http://sourceforge.net/p/mingw-w64/bugs/344" target="_blank">http://sourceforge.net/p/mingw-w64/bugs/344</a>).  It would be nice to get a second opinion, though, maybe I missed something.<br><br>Vadim<br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 24, 2014 at 10:55 AM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 24, 2014 at 10:37 AM, Óscar Fuentes <span dir="ltr"><<a href="mailto:ofv@wanadoo.es" target="_blank">ofv@wanadoo.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="overflow:hidden">The best thing for understanding their reasons is to ask them to speak<br>
up.</div></blockquote><div><br></div><div>I asked them directly, and this thread is a chance for them to speak up again. I *think* I've addressed the concerns of those I've spoken to directly, but there may be other folks or other concerns or I may have messed it up. =]</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="overflow:hidden"> My experience on the MinGW/MinGW-w64 communities is that those who<br>
choose MinGW is because of ignorance about MinGW-w64 and because there<br>
are lots of documents on the 'net that references MinGW. MinGW is, to<br>
all practical effects, a zombie project and there is no reason to prefer<br>
it over MinGW-w64 nowadays.</div></blockquote></div><br>:: shrug ::</div><div class="gmail_extra"><br></div><div class="gmail_extra">I'm not such a user, and so I don't want to speculate as to what motivates them.</div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div></div>