Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-12-01 Thread Walter Negro
Andi

MSVC do the memcpy optimization when use maximum optimize switch. -O2 or 
-Ox or -Ogty
You can generate .asm using -Fa switch.

Walter Negro


Andi Jahja escribió:
> Hi Toninho,
>
> In my test, MSVC9 is a lot faster than BCC 6.10.
>
> BTW, can you please make a test as follows:
>
>   1. Run speedtst.exe with standard CVS fastitem.c
>   2. Replace fastitem.c with the attached one and
>  compare the speed.
>
> If you like the speed with the hacked fastitem.c, you may use it.
> I've been using it since many years ago with no problem.
> --
> Andi
>
> On Fri, 28 Nov 2008 13:27:35 -0300
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>   
>>> What I use:
>>>
>>>   Based on several considerations, I am now using MSVS 9.0 as my work horse,
>>>   although the compiling speed is very slow compared to BCC 5.5.1.
>>>   MSVS 9.0 (Express) is free, code speed is excellent, support/continuity is
>>>   more or less obvious.
>>>   
>> Thanks for tests Andi.
>>
>> Do you have results for speedtest between bcc6.10 and msvc9. Wich is
>> better please?
>>
>> Regards,
>>
>> Toninho.
>> 
>
>
>
>
> __ Información de NOD32, revisión 3650 (20081128) __
>
> Este mensaje ha sido analizado con NOD32 antivirus system
> http://www.nod32.com
>
>
>
> __ Información de NOD32, revisión 3650 (20081128) __
>
> Este mensaje ha sido analizado con NOD32 antivirus system
> http://www.nod32.com
>   
> 
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
>
> __ Información de NOD32, revisión 3650 (20081128) __
>
> Este mensaje ha sido analizado con NOD32 antivirus system
> http://www.nod32.com
>
>
>
> __ Información de NOD32, revisión 3650 (20081128) __
>
> Este mensaje ha sido analizado con NOD32 antivirus system
> http://www.nod32.com
>   
> 
>
> ___
> xHarbour-developers mailing list
> xHarbour-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
>
>
>
> __ Información de NOD32, revisión 3650 (20081128) __
>
> Este mensaje ha sido analizado con NOD32 antivirus system
> http://www.nod32.com
>
>
>
> __ Información de NOD32, revisión 3650 (20081128) __
>
> Este mensaje ha sido analizado con NOD32 antivirus system
> http://www.nod32.com
>   



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-12-01 Thread Andi Jahja
On Mon, 01 Dec 2008 10:00:04 -0300
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> Recompiling all FWH and it works with -a8

:-)
--
Andi

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-12-01 Thread [EMAIL PROTECTED]
>Toninho,
>
>You have to be sure what alignment you are using for FWH Libs and your
>application. All _SHOULD_ be recompiled with the same alignment.

Hi Andi, thanks,

Recompiling all FWH and it works with -a8

Regards,

Toninho.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-12-01 Thread Andi Jahja
On Mon, 01 Dec 2008 08:29:43 -0300
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> Hi Andi,
> Thanks,
> As Enrico says, your code is really fast, but FWH GPF...

Toninho,

You have to be sure what alignment you are using for FWH Libs and your
application. All _SHOULD_ be recompiled with the same alignment.

Followings are codes with note. Change the code if you are using 4 byte
alignment ( -a4 ):

#ifndef __GNUC__
   _asm {
  mov edi, pDest;
  mov esi, pSource;
  mov ecx, 6;  /* sizeof( HB_ITEM ) = 24 bytes / 4 = 6  ( -a8 ) */
  // mov ecx, 5;  /* sizeof( HB_ITEM ) = 20 bytes / 4 = 5 ( -a4 ) */ 
  rep movsd;
   }
#else
   memcpy( pDest, pSource, sizeof( HB_ITEM ) );
#endif
--
Andi

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-12-01 Thread [EMAIL PROTECTED]
>> If you are interested, why don't you try and see the results with your
>> very own eyes :-)
>>
>> But please take note, that it contains asm codes, so BCC without TASM
>> will not be able to compile it.
>
>Ok, just tried. Speedtst shows about 20% faster. But my FWH apps GPFs. Maybe 
>I have to recompile FWH but at the moment I'm too lazy. :-)
>
>EMG

Hi Andi,

Thanks,

As Enrico says, your code is really fast, but FWH GPF...

BTW, thanks for it.

Regards,

Toninho.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-11-29 Thread Andi Jahja
On Sat, 29 Nov 2008 16:04:54 +0100
Miguel Angel Marchuet <[EMAIL PROTECTED]> wrote:

> I think it's a little dangerous to use hard coded size of HB_ITEM

It's not a little, but VERY dangerous but written especially for 8 byte
alignment ;-)

BTW, many times ago it was said that an alignment of 4 is the best for
BCC (-a4 flag). But I still cannot prove it on real application. In my
case, using -a4 is much slower than -a8 although theoritically, -a4
should be faster.

Have you any comment on this matter?
--
Andi

> #ifndef __GNUC__
>_asm {
>   mov edi, pDest;
>   mov esi, pSource;
>   mov ecx, 6;  /* sizeof( HB_ITEM ) = 24 bytes / 4 = 6 */
>   rep movsd;
>}
> #else
>memcpy( pDest, pSource, sizeof( HB_ITEM ) );
> #endif
> 
> is possible it changes, for example using -a4 or -a8 alignment parameter 
> at BCC compiler
> 
> Best regards
> Miguel Angel Marchuet
> 
> Andi Jahja escribió:
> > Hi Toninho,
> >
> > In my test, MSVC9 is a lot faster than BCC 6.10.
> >
> > BTW, can you please make a test as follows:
> >
> >   1. Run speedtst.exe with standard CVS fastitem.c
> >   2. Replace fastitem.c with the attached one and
> >  compare the speed.
> >
> > If you like the speed with the hacked fastitem.c, you may use it.
> > I've been using it since many years ago with no problem.
> > --
> > Andi
> >
> > On Fri, 28 Nov 2008 13:27:35 -0300
> > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> >
> >   
> >>> What I use:
> >>>
> >>>   Based on several considerations, I am now using MSVS 9.0 as my work 
> >>> horse,
> >>>   although the compiling speed is very slow compared to BCC 5.5.1.
> >>>   MSVS 9.0 (Express) is free, code speed is excellent, support/continuity 
> >>> is
> >>>   more or less obvious.
> >>>   
> >> Thanks for tests Andi.
> >>
> >> Do you have results for speedtest between bcc6.10 and msvc9. Wich is
> >> better please?
> >>
> >> Regards,
> >>
> >> Toninho.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-11-29 Thread Miguel Angel Marchuet
I think it's a little dangerous to use hard coded size of HB_ITEM

#ifndef __GNUC__
   _asm {
  mov edi, pDest;
  mov esi, pSource;
  mov ecx, 6;  /* sizeof( HB_ITEM ) = 24 bytes / 4 = 6 */
  rep movsd;
   }
#else
   memcpy( pDest, pSource, sizeof( HB_ITEM ) );
#endif

is possible it changes, for example using -a4 or -a8 alignment parameter 
at BCC compiler

Best regards
Miguel Angel Marchuet

Andi Jahja escribió:
> Hi Toninho,
>
> In my test, MSVC9 is a lot faster than BCC 6.10.
>
> BTW, can you please make a test as follows:
>
>   1. Run speedtst.exe with standard CVS fastitem.c
>   2. Replace fastitem.c with the attached one and
>  compare the speed.
>
> If you like the speed with the hacked fastitem.c, you may use it.
> I've been using it since many years ago with no problem.
> --
> Andi
>
> On Fri, 28 Nov 2008 13:27:35 -0300
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>   
>>> What I use:
>>>
>>>   Based on several considerations, I am now using MSVS 9.0 as my work horse,
>>>   although the compiling speed is very slow compared to BCC 5.5.1.
>>>   MSVS 9.0 (Express) is free, code speed is excellent, support/continuity is
>>>   more or less obvious.
>>>   
>> Thanks for tests Andi.
>>
>> Do you have results for speedtest between bcc6.10 and msvc9. Wich is
>> better please?
>>
>> Regards,
>>
>> Toninho.
>> 
>
>
>
>
> __ Información de ESET Smart Security, versión de la base de firmas 
> de virus 3650 (20081128) __
>
> ESET Smart Security ha comprobado este mensaje.
> http://www.eset.com
>
>   
> 
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
>
> __ Información de ESET Smart Security, versión de la base de firmas 
> de virus 3650 (20081128) __
>
> ESET Smart Security ha comprobado este mensaje.
> http://www.eset.com
>
>   
> 
>
> ___
> xHarbour-developers mailing list
> xHarbour-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
>
>
>
> __ Información de ESET Smart Security, versión de la base de firmas 
> de virus 3650 (20081128) __
>
> ESET Smart Security ha comprobado este mensaje.
> http://www.eset.com
>
>   

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-11-29 Thread Enrico Maria Giordano

-Messaggio Originale- 
Da: "Andi Jahja" <[EMAIL PROTECTED]>
A: "Enrico Maria Giordano" <[EMAIL PROTECTED]>
Cc: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>; "Xharbour-Developers" 

Data invio: sabato 29 novembre 2008 12.19
Oggetto: Re: [xHarbour-developers] C Compiler for Windows, a simple review


> If you are interested, why don't you try and see the results with your
> very own eyes :-)
>
> But please take note, that it contains asm codes, so BCC without TASM
> will not be able to compile it.

Ok, just tried. Speedtst shows about 20% faster. But my FWH apps GPFs. Maybe 
I have to recompile FWH but at the moment I'm too lazy. :-)

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page: http://www.emagsoftware.it/emgmusic 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-11-29 Thread Andi Jahja
On Sat, 29 Nov 2008 11:43:02 +0100
"Enrico Maria Giordano" <[EMAIL PROTECTED]> wrote:

> Interesting. Can you report the result here, please?

If you are interested, why don't you try and see the results with your
very own eyes :-)

But please take note, that it contains asm codes, so BCC without TASM
will not be able to compile it.
--
Andi

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-11-29 Thread Enrico Maria Giordano

-Messaggio Originale- 
Da: "Andi Jahja" <[EMAIL PROTECTED]>
A: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Cc: "Xharbour-Developers" 
Data invio: venerdì 28 novembre 2008 23.17
Oggetto: Re: [xHarbour-developers] C Compiler for Windows, a simple review


> Hi Toninho,
>
> In my test, MSVC9 is a lot faster than BCC 6.10.
>
> BTW, can you please make a test as follows:
>
>  1. Run speedtst.exe with standard CVS fastitem.c
>  2. Replace fastitem.c with the attached one and
> compare the speed.
>
> If you like the speed with the hacked fastitem.c, you may use it.
> I've been using it since many years ago with no problem.

Interesting. Can you report the result here, please?

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page: http://www.emagsoftware.it/emgmusic 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-11-28 Thread Andi Jahja
Hi Toninho,

In my test, MSVC9 is a lot faster than BCC 6.10.

BTW, can you please make a test as follows:

  1. Run speedtst.exe with standard CVS fastitem.c
  2. Replace fastitem.c with the attached one and
 compare the speed.

If you like the speed with the hacked fastitem.c, you may use it.
I've been using it since many years ago with no problem.
--
Andi

On Fri, 28 Nov 2008 13:27:35 -0300
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> >What I use:
> >
> >   Based on several considerations, I am now using MSVS 9.0 as my work horse,
> >   although the compiling speed is very slow compared to BCC 5.5.1.
> >   MSVS 9.0 (Express) is free, code speed is excellent, support/continuity is
> >   more or less obvious.
> 
> Thanks for tests Andi.
> 
> Do you have results for speedtest between bcc6.10 and msvc9. Wich is
> better please?
> 
> Regards,
> 
> Toninho.



fastitem.c
Description: Binary data
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-11-28 Thread [EMAIL PROTECTED]
>Toninho
>
>I have bcc 6.10, but personaly i dont like msvc compiler

Ok Luiz, thank you.

Regards,

Toninho.



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-11-28 Thread Luiz Rafael Culik Guimaraes
Toninho

I have bcc 6.10, but personaly i dont like msvc compiler

Regards
Luiz
- Original Message - 
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: "Andi Jahja" <[EMAIL PROTECTED]>
Cc: "Xharbour-Developers" 
Sent: Friday, November 28, 2008 2:27 PM
Subject: Re: [xHarbour-developers] C Compiler for Windows, a simple review


> >What I use:
>>
>>   Based on several considerations, I am now using MSVS 9.0 as my work 
>> horse,
>>   although the compiling speed is very slow compared to BCC 5.5.1.
>>   MSVS 9.0 (Express) is free, code speed is excellent, support/continuity 
>> is
>>   more or less obvious.
>
> Thanks for tests Andi.
>
> Do you have results for speedtest between bcc6.10 and msvc9. Wich is
> better please?
>
> Regards,
>
> Toninho.
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great 
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the 
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> xHarbour-developers mailing list
> xHarbour-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
> 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-11-28 Thread [EMAIL PROTECTED]
>What I use:
>
>   Based on several considerations, I am now using MSVS 9.0 as my work horse,
>   although the compiling speed is very slow compared to BCC 5.5.1.
>   MSVS 9.0 (Express) is free, code speed is excellent, support/continuity is
>   more or less obvious.

Thanks for tests Andi.

Do you have results for speedtest between bcc6.10 and msvc9. Wich is
better please?

Regards,

Toninho.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-11-28 Thread Andi Jahja
On Fri, 28 Nov 2008 18:30:57 +0700
Andi Jahja <[EMAIL PROTECTED]> wrote:

>To the best of my knowledge, up to now only GCC and Intel C which already
>have an auto vectorization (a loop optimization, pls search Google, you'll
>be interested)

The followings are "REMARKs" issued by Intel C on xHarbour Engine:

C:\DEV\source\vm\hvm.c(6010): (col. 10) remark: PARTIAL LOOP WAS VECTORIZED.
C:\DEV\source\vm\hvm.c(5903): (col. 10) remark: PARTIAL LOOP WAS VECTORIZED.
C:\DEV\source\vm\hvm.c(5795): (col. 10) remark: PARTIAL LOOP WAS VECTORIZED.

It is a message that an auto-vectorization is done.

Perhaps, those who are more familiar with optimization could review the
said lines and make a modification for other compilers.

There are many other places where vectorization may be done.
--
Andi

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] C Compiler for Windows, a simple review

2008-11-28 Thread Enrico Maria Giordano

-Messaggio Originale- 
Da: "Andi Jahja" <[EMAIL PROTECTED]>
A: "Xharbour-Developers" 
Data invio: venerdì 28 novembre 2008 12.30
Oggetto: [xHarbour-developers] C Compiler for Windows, a simple review


> This information is posted merely to share my experience.

Thank you for sharing it!

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page: http://www.emagsoftware.it/emgmusic 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


[xHarbour-developers] C Compiler for Windows, a simple review

2008-11-28 Thread Andi Jahja
Hello,

In search of a best C Compiler for xHarbour, I have in my machine the
followings installed (with the latest available patches/SP):

 1. Borland C++ 5.5.1
 2. Borland C++ 5.8
 3. CodeGear C++ 5.9
 4. CodeGear C++ 6.1
 5. MSVS 6.0
 6. MSVS 7.1
 7. MSVS 8.0
 8. MSVS 9.0
 9. PellesC 5.01
10. XCC (PellesC) 2.70
11. OpenWatcom 1.7a
12. Digital Mars 8.50
13. Intel C++ 11.0
14. MinGW GCC 3.4.5

After playing with them quite a time, I came to the following conclusions:

1. For code speed, Borland C++ 5.5.1/MSVS 9.0/Intel C++ 11.0/GCC 3.4.5 show
   almost exactly same performance (leading in code execution).
2. For compiling speed (.c->.obj), Borland C++ 5.5.1 are No. 1
3. Each compiler has respective plus/minus so options is to be suited with
   our aims. Example.: if we want 64-bit or WinCE, we cannot use BCC 5.5.1 etc.

   To the best of my knowledge, up to now only GCC and Intel C which already
   have an auto vectorization (a loop optimization, pls search Google, you'll
   be interested)

What I use:

   Based on several considerations, I am now using MSVS 9.0 as my work horse,
   although the compiling speed is very slow compared to BCC 5.5.1.
   MSVS 9.0 (Express) is free, code speed is excellent, support/continuity is
   more or less obvious.

This information is posted merely to share my experience.
--
Andi



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers