[computer-go] Language War!

Ray Tayek rtayek at comcast.net
Mon Jul 31 10:58:07 PDT 2006


At 10:15 PM 7/28/2006, you wrote:
>... Orego is now a relatively strong program,
>  ... While we have a bunch of improvements to consider, the algorithm is
>so computationally intensive that the inefficiencies of Java are
>hurting us in both time and space.

can you demonstrate this with a profiler?
have you tried fooling around with some of the jvm parameters: 
http://java.sun.com/developer/technicalArticles/Programming/turbo/

>  We're considering switching to C+ +. None of us has extensive C++ 
> experience, ...

i have a fair amount of experiece in java and c++. this could be vary 
painful. bad pointers and memory leaks will suck up a *lot* of your 
time. stl has a steep learning curve. you will need to be aware of 
stuff like: 
http://www.linuxdevcenter.com/pub/a/linux/2003/08/07/cpp_mm-3.html?page=3. 
if you really have to do this, take a look at http://www.boost.org/.

>Should we start from scratch or use parts of another open source
>program, such as GNU Go?

i would recommend staying with java for as long as possible (but  i 
am a java bigot).

thanks

---
vice-chair http://ocjug.org/



More information about the computer-go mailing list