Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Visual Basic for chess program

Author: Pham Minh Tri

Date: 15:15:45 11/14/00

Go up one level in this thread


On November 13, 2000 at 18:48:05, Ray MacFadyen wrote:

>On November 12, 2000 at 20:24:34, Lenard Spencer wrote:
>
>>On November 12, 2000 at 18:39:50, Ray MacFadyen wrote:
>>
>>>On November 12, 2000 at 18:37:38, Ray MacFadyen wrote:
>>>
>>>>Hi
>>>>Thanks for all your answers men,they were very interesting,I see what you mean
>>>>Severi,I am finding lots of examples all in C.
>>>>Luca I will download your source code and see if it can help me,I am still
>>>>undecided as to which language to use,I have done a little programming with C
>>>>but must admit I found visual basic a bit easier.
>>>>Again thanks for all your answers :-)
>>>>Ray MacFadyen
>>>Just curiosly if crafty was written in C and also visual basic,how much faster
>>>would the C version be?
>>
>>Depends, is VB an interpreted or compiled language?  Compiles to machine code or
>>pseudocode (tokenized like the original Pascal)?
>Hi Lenard
>According to my good book"The complete idiots guide to visual basic6"VB source
>is compiled to machine language.
>Ray MacFadyen

I have read somewhere that the speed of a VB program is of a children bike and
speed of C program is of a Fomular 1 race car. And a my friend, who had
converted a C chess program into VB one reported that it was 2 - 3 times as slow
as C one. However, an old post recommended if you use the professional editor
VB, with many options for optimization, the speed could be near the speed of C.

Pham




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.