writing new chess program ?

Discussion of chess software programming and technical issues.

Moderator: Ras

Hood
Posts: 659
Joined: Mon Feb 08, 2010 12:52 pm
Location: Polska, Warszawa

writing new chess program ?

Post by Hood »

Hi,

do you think that using multiple languages is reasonable ?

Fortran and Cobol are specialized for computations, C has flexible interfaces.
So every part of engine can be written in more suitable language ?

It is my task for the pension at least :-)

rgds
chris
humble_programmer

Re: writing new chess program ?

Post by humble_programmer »

I think that "multi-language" applications are quite viable. For example, I have created a sudoku GUI in C# that interacts with traditional C/C++ sudoku generators/solvers. This combination takes advantage of the .NET Framework's strengths in GUI building (events, reflection, and metadata) without sacrificing the speed offered by the native executables. The only issue becomes the interface between the different applicaiton components, because sometimes the overhead introduced by the interface negates the advantages of separating the components.
aberent

Re: writing new chess program ?

Post by aberent »

I find that in software development complexity will kill you. Keep it simple and you will have a better shot at sucess.
Hood
Posts: 659
Joined: Mon Feb 08, 2010 12:52 pm
Location: Polska, Warszawa

Re: writing new chess program ?

Post by Hood »

Thanks for the advices.
I will have to think over.

I knew Fortran, Cobol and C and there are good interfaces between procedures written in differrent languages on PC platform and midrange platform too.

I think that interactive interface does not to have a quick performance so it can be written in Java.
Computations Fortran or Cobol.

I think it is better to start with free source engine and try to modify it. What are obligations of GPL, if i will modify sth for my needs am i obliged to publish that ?
When i catch what is importnt in the program I will try to write my own.


rgds
chris
noctiferus
Posts: 364
Joined: Sun Oct 04, 2009 1:27 pm
Location: Italy

Re: writing new chess program ?

Post by noctiferus »

Cobol?
You remind me when I was programming some Statistical quality control procedures in RPG II !
Those were times ( a bit acrobatic... :-) )!

(about 30 years ago...)
Hood
Posts: 659
Joined: Mon Feb 08, 2010 12:52 pm
Location: Polska, Warszawa

Re: writing new chess program ?

Post by Hood »

noctiferus wrote:Cobol?
You remind me when I was programming some Statistical quality control procedures in RPG II !
Those were times ( a bit acrobatic... :-) )!

(about 30 years ago...)
At the moment there is ILE RPG IV :-) , ILE Cobol, ILE C
and procedures written in thouse languges are easy to call.

RPG II, yes it was difficult to programming, more difficult to read and modify.
I have had a luck to start with RPG III.

rgds
chris