www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - [OT]: Google AI Challenge: starter package for D

--0022150482bbf517b8048fb746e7
Content-Type: text/plain; charset=ISO-8859-1

On Friday (Sept. 10), Google/The University of Waterloo is going to open up
registration for the next Google AI Challenge. Right now they are accepting
"starter packages" for any language with a free compiler that can run on
Ubuntu 8.04 (what their server runs), which means dmd is a candidate. I have
already gotten a sort-of thumbs up from the contest organizer on getting
them to host D as a language[1], and this evening I put together a starter
package[2].

However, I am still very much a novice with D, so I was hoping some of you
experts could take a look at the code and give some suggestions,
particularly regarding performance enhancements. Each bot is allowed 1
second of calculation time per turn, and doing file IO haphazardly like I do
is probably eating up a lot of that time. The files in question are the ones
ending in .d; everything else just behind the scenes stuff that doesn't
change.


[1] http://ai-contest.com/forum/viewtopic.php?f=18&t=423
[2] http://bitbucket.org/Queue29/d_starter_package/src



Seth Hoenig
seth.a.hoenig gmail.com

--0022150482bbf517b8048fb746e7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Friday (Sept. 10), Google/The University of Waterloo is going to open up=
 registration for the next Google AI Challenge. Right now they are acceptin=
g "starter packages" for any language with a free compiler that c=
an run on Ubuntu 8.04 (what their server runs), which means dmd is a candid=
ate. I have already gotten a sort-of thumbs up from the contest organizer o=
n getting them to host D as a language[1], and this evening I put together =
a starter package[2].=A0<div>
<br><div>However, I am still very much a novice with D, so I was hoping som=
e of you experts could take a look at the code and give some suggestions, p=
articularly regarding performance enhancements. Each bot is allowed 1 secon=
d of calculation time per turn, and doing file IO haphazardly like I do is =
probably eating up a lot of that time. The files in question are the ones e=
nding in .d; everything else just behind the scenes stuff that doesn&#39;t =
change.=A0</div>
<div><div><br></div><div><br></div><div>[1]=A0<a href=3D"http://ai-contest.=
com/forum/viewtopic.php?f=3D18&amp;t=3D423">http://ai-contest.com/forum/vie=
wtopic.php?f=3D18&amp;t=3D423</a></div><div>[2]=A0<a href=3D"http://bitbuck=
et.org/Queue29/d_starter_package/src">http://bitbucket.org/Queue29/d_starte=
r_package/src</a></div>
<div><br></div><div><br></div><div><br></div><div>Seth Hoenig</div><div><a =
href=3D"mailto:seth.a.hoenig gmail.com">seth.a.hoenig gmail.com</a></div></=
div></div>

--0022150482bbf517b8048fb746e7--
Sep 07 2010