Thanks both I guess I will stick with C/C++ for now. I have looked at Scala before though not in this particular context. It looks like a pretty compelling language with some pretty nice features (true lambda functions, "argument" pattern matching among others). JVM performance does concern me however.
I do have a followup question but I will make a separate topic of it. --- On Fri, 8/14/09, Vlad Dumitrescu <vladd...@gmail.com> wrote: > From: Vlad Dumitrescu <vladd...@gmail.com> > Subject: Re: [computer-go] Erlang and computer go > To: "computer-go" <computer-go@computer-go.org> > Date: Friday, August 14, 2009, 1:56 PM > On Fri, Aug 14, 2009 at 22:16, Carter > Cheng<carter_ch...@yahoo.com> > wrote: > > I have been considering experimenting with Erlang as a > means of prototyping certain aspects of a computer go > program and I was curious if anyone has tried this already. > How does a system like Erlang compare performance wise to > writing something in say C/C++ (fastest) or Java? > > Hi, > > I have started for some year ago to try to withe an Erlang > library to > play go, but got distracted by other stuff. > > Erlang has a lot of nice features, but in this particular > instance > speed isn't one of them. The main issue is that there are > no mutable > data structures, so for all processing there will be a lot > of copying. > This is somewhat simplified, of course, but the conclusion > still > holds. I don't have any hard numbers, it would depend very > much upon > the choice of data structure. > > Erlang would be good at coordinating work done by simple > and fast > slaves, written in C for example. It would be very > appropriate for a > distributed engine. The problem here is that the problem > of > synchronizing a distributed UCT tree hasn't been solvet > yet, to my > knowledge. > > regards, > Vlad > _______________________________________________ > computer-go mailing list > computer-go@computer-go.org > http://www.computer-go.org/mailman/listinfo/computer-go/ > _______________________________________________ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/