[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Python & chess



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steve Lamb wrote:
> Paolo Pantaleo wrote:
>> 2006/8/24, Ron Johnson <ron.l.johnson@cox.net>:
>>> The 1st link in his email describes how when a python chess
>>> player was (mechanically) converted to C++, the resulting app
>>> ran 10x faster.
> 
>> That's it, compiled languages are fastar than interperted ones.
>> 
> 
> This is true.  However in modern computing most programs are
> sitting idle so scripted languages are not as ill-suited as they
> once were.  Furthermore,
[snip]
> a compiled language offers.  IE, code the 90-95% of the idle
> intensive stuff in Python, optimize the 5% intensive in C/C++.
> 
> So, strictly speaking, Python is not ill-suited if one follows
> the advice of Python's own advocates.  :)  Write the interface in
> Python and have it call the engine written in C.

You need to re-read the OP:

    but it could be grat for chess interfaces, for drawing boards,
    and similar things.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE7lrdS9HxQb37XmcRAlXPAJ9ft9XBm3TaC/rNz8BhUZQZJqLLbwCfYeE3
pUGiPpuNA1IRK3ks3bPaAPM=
=A7+y
-----END PGP SIGNATURE-----



Reply to: