Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Any reason to use C?

Author: Gerd Isenberg

Date: 15:07:03 07/29/03

Go up one level in this thread


On July 29, 2003 at 17:16:31, Tord Romstad wrote:

>On July 29, 2003 at 16:45:34, Dan Andersson wrote:
>
>> Objective-C, bravo! The way object oriented C should have gone.
>
>Yes.  I have noticed before that you have good taste.  :-)
>
>> Clean and simple, with a touch of Smalltalk. POC or GCC flavour?
>
>The only Objective-C variant I have experience with is the one included with
>the Developer Tools in Mac OS X.  If I have understood correctly, this dialect
>is inherited from NextStep, and is probably closer to the GCC flavor than to
>POC.
>Purists probably don't like it much.
>
>I haven't used it much, though.  I intend to learn Objective-C and Cocoa in
>order to implement an UCI-compatible GUI for my program in Mac OS X.  You cannot
>expect the average Mac user to compile install xboard; I have to give them
>something more user-friendly.  :-)
>
>Tord

Hi Tord,

i don't know Objective-C and even Smalltalk. May be i have some prejudices
against these languages, some performance related rumors - but disabuse me.

I found GUI programming with C++ rather great, probably because i don't know
better alternatives. But it depends a lot on the class-libary you use...

My first C++ project was an own SAA-CUA "window manager interface" for
Dos-IsiChess, able to play simultaniusly with up to ten boards, message loop,
modal and modeless dialogs, all the dialog elements ( i had some experience in
classical GUI C-libs, with several GUI apis). If i view back 12 years and
compare it with mfc, this "quick and dirty" win32 api encapsulation...
Currently (on work) QT becomes my friend more and more.
STL was too late, with the appearance of many proprietary incompatible class
libs. (char[], LPCSTR, string, CString, QString, RWDBString, BSTR...)

Regards,
Gerd



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.