I can really recommend it for Win32 development.
Though I am unsure as to whether it complies with the latest C standards it is fairly current and, in my experience, produces code which is faster than Visual C 6 which I also use.
As I like writing really, really fast programs I use the "#pragma aux" directive which allows me to specify assembly functions which the compiler will then seamlessly embed inline without affecting the surrounding optimizations. It is vastly superior to the _asm construct (which is also available).
So why would anyone write anything in asssembly these days? For one thing x86 has block move and block set (movs/stos) instructions which execute faster than the standard memcpy/memset functions. In addition, as the code is inlined, wasteful call/prologue/epilogue/rets are avoided and the cache has less work to do. Another plus is wriiting 64-bit multiply/divide by 32-bit. The internal 64-bit counter may also be read in this manner and it is invaluable for determining execution times for code sequences.
Additionally the debugger is good, solid and easy to use.
The OpenWatcom tools may be found att Main Page - Open Watcom



LinkBack URL
About LinkBacks



