<div dir="ltr"><div>Hi list,</div><div><br></div><div>So I think I figured out the answer myself.</div><div><br></div><div>First, the previous benchmark that I recalled having read, is the "8) Performance of GCC and CLANG when compiling Gambit" section in Gambit's install.txt file (<a href="https://github.com/gambit/gambit/blob/edac3c75f0d93f4f56a39c2b90621511f096dd72/INSTALL.txt#L577">https://github.com/gambit/gambit/blob/edac3c75f0d93f4f56a39c2b90621511f096dd72/INSTALL.txt#L577</a>).</div><div><br></div><div>The essence here is that Clang 2.6, 2.7 and 2.8 wouldn't even compile Gambit, and 2.9-3.1 would compile Gambit but be fairly slow.</div><div><br></div><div>A lot has happened since Clang 3.1, which is the last Clang version covered by install.txt today. The latest version today is 6.0. Ref. <a href="https://en.wikipedia.org/wiki/Clang#Status_history">https://en.wikipedia.org/wiki/Clang#Status_history</a> . Clang is now the default C/C++/Objective-C compiler choice in a handful operating systems, for AMD64 and some more architectures.</div><div><br></div><div>Clang's language feature set is good, ref. <a href="https://en.cppreference.com/w/cpp/compiler_support">https://en.cppreference.com/w/cpp/compiler_support</a> , <a href="https://clang.llvm.org/cxx_status.html">https://clang.llvm.org/cxx_status.html</a> .</div><div><br></div><div>And Clang's speed is decent, recent benchmarks tend to find that Clang and GCC have a speed difference that's in the ballpark +-30%, up or down depending on benchmark, e.g. ref. <a href="https://stackoverflow.com/questions/3187414/clang-vs-gcc-which-produces-better-binaries#15043814">https://stackoverflow.com/questions/3187414/clang-vs-gcc-which-produces-better-binaries#15043814</a> .</div><div><br></div><div>The term "LLVM" only denotes that Clang has an internal intermediary language form, and the term LLVM has no other meaning in the direction of executable bytecode like Java JIT VM:s. I.e. Clang is only a native C/C++/Obj-C compiler. A list of the Clang/LLVM projects is on the main page at <a href="http://www.llvm.org/">http://www.llvm.org/</a> .</div><div><br></div><div>I have not tested yet but I do expect Clang to run Gambit stably and at a totally-okay speed.</div><div><br></div><div>Adam</div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-05 16:13 GMT+08:00 Adam <span dir="ltr"><<a href="mailto:adam.mlmb@gmail.com" target="_blank">adam.mlmb@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi!<div><br></div><div>Does Gambit work perfectly with the Clang C/C++ compiler (compiling to assembly which is compiled to native code, nothing LLVM), if so is it for all Gambit versions, or since when?</div><div><br></div><div>I remember a benchmark of the time taken to, was it to compile Gambit-generated C code, or was it execution time of Gambit-C code as compiled by different GCC and Clang versions. What is the URL to that post in the mailing list archive?</div><div><br></div><div>Thanks!<span class="gmail-HOEnZb"><font color="#888888"><br>Adam</font></span></div></div>
</blockquote></div><br></div></div>