| View previous topic :: View next topic |
| Author |
Message |
Don Dailey
Joined: 29 Apr 2008 Posts: 4308
|
Post subject: Re: Go language Posted: Thu Jun 21, 2012 8:12 pm |
|
|
| spambanane wrote: |
As I always wanted to write a chess program, I took the chance now that Go was finally released:
http://code.google.com/p/gochess/
It is in eary stage, but capable of giving a beginner a hard time. I can't tell much about engine speed, I guess it's rather poor.
I found another go chess project recently:
http://code.google.com/p/gochess/
This guy is using bitboards, I use a 10x12 board representation.
One performance hit I came across is array access. Go is memory safe, so every access to an array element includes an assertion to make sure the array index is not out of bound. This, of course, comes at a cost. As I use arrays a lot (precomputed moves e.g.) this sums up.
So I wonder how the Go people will achive their goal to make Go (almost) as fast as C.
From my first project with Go I can tell that Go is fun to work with and it makes me very productive.
Heiko |
I think you should give it a go (no pun intended.) I'm pretty sure you will suffer some penalty in speed, but you may gain a lot with productivity. And if Go really catches on, which seems likely, you can look forward to future versions of Go with much higher performance. I think Go is already slated to be included in the GCC compiler suite if it's not already there - so performance is likely to get some serious attention. _________________ "Your superior intellect is no match for our puny weapons." -Kang and Kodos |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
Go language |
Russell Reagan |
Fri Jun 15, 2012 4:40 am |
Re: Go language |
Ron Murawski |
Fri Jun 15, 2012 5:18 am |
Re: Go language |
Don Dailey |
Fri Jun 15, 2012 2:23 pm |
Re: Go language |
Ron Murawski |
Fri Jun 15, 2012 7:12 pm |
Re: Go language |
Don Dailey |
Fri Jun 15, 2012 7:27 pm |
Re: Go language |
Ron Murawski |
Fri Jun 15, 2012 9:46 pm |
Re: Go language |
Don Dailey |
Fri Jun 15, 2012 11:16 pm |
Re: Go language |
Russell Reagan |
Sat Jun 16, 2012 3:39 am |
Re: Go language |
Ron Murawski |
Sat Jun 16, 2012 4:24 am |
Re: Go language |
Don Dailey |
Sat Jun 16, 2012 4:44 am |
Re: Go language |
Russell Reagan |
Sat Jun 16, 2012 8:52 pm |
Re: Go language |
Ron Murawski |
Sat Jun 16, 2012 4:06 am |
Re: Go language |
H. Schlichting |
Thu Jun 21, 2012 8:08 pm |
Re: Go language |
Don Dailey |
Thu Jun 21, 2012 8:12 pm |
Re: Go language |
H. Schlichting |
Thu Jun 21, 2012 8:25 pm |
Re: Go language |
Don Dailey |
Thu Jun 21, 2012 8:31 pm |
Re: Go language |
H. Schlichting |
Thu Jun 21, 2012 10:19 pm |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|