On Thu, 11 Mar 2010, Szak�ts Viktor wrote:

Hi,

> Results in 64-bit mode using MSVC 2008 (same as 32-bit) 
> and mingw 4.4.4 20100129 (prerelease):
>      mingw  msvc
> C++         11.63
> C    11.08
> mingw seems to be the winner here in default 
> Harbour builds, even though msvc had the advantage 
> of C++ mode.

Finally I installed for tests GCC 4.5 (devel version)
and in C++ mode with -flto it gives also better results
then in C mode so it's potentially the fastest code.
I have to say that I vary like how the meta code is
implemented. Unlike other compilers GCC can be used
with LTO without any complicated settings and programmer
can easy control if he wants or not link time optimization
using one link time switch.

> Plus, 64-bit mode has a clear advantage over 32-bit.

I have similar results in Linux.
64bit Harbour programs are faster then 32bit ones.

> I will make more tests, but it seems it's 
> worth switching to mingw also for 64-bit mode.

The very strong thing in GCC is really good performance
for different hardware. The optimization logic is not
hardcoded to one processor family so it can be easy adopt
to completely different CPUs. Anyhow I do not know what
it the quality of Win64 GCC ports so here you will have
to took the decision yourself. It's quite new port anyhow
I think that in short time it should be very stable and
efficient. 64big GCC ports for different *nixes have been
existing for _very_ long time.

Thank you for your tests.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to