Does Crafty or Stockfish or Komodo, going to Java?

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
George Tsavdaris
Posts: 1627
Joined: Thu Mar 09, 2006 12:35 pm

Does Crafty or Stockfish or Komodo, going to Java?

Post by George Tsavdaris »

I read in the Hiarcs forum a topic with the tittle:

"Why current programs are migrating to java?"
-----------------------------------------------------------
Why current programs are migrating to java?
Komodo stockfish crafty ....etc

java c # are slower than c /c++. Why this change? portability?


-----------------------------------------------------------

And an answer:

-----------------------------------------------------------
Because Java is a secure language. It is robust and platform independent language. Also it provides many applications which are very nice for developing program. Such as applet, it is widely used in Java. There is no problem about security. So this is the main advantage of Java.

-----------------------------------------------------------

So did i miss any news? :o
Does Crafty changes its development and goes to Java?
Does Komodo and Stockfish also?

Last time i checked(and that was for the latest versions :D ) Crafty and Stockfish were in C (or C++ i can't really distinguish).

So what these guys there are talking about? Their confidence(both of the topic starter and the one that answered) in their statements was disarming. They almost persuade me about that.

But i'm not sure if they are true or if they are saying completely random things. :D
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: Does Crafty or Stockfish or Komodo, going to Java?

Post by michiguel »

George Tsavdaris wrote:I read in the Hiarcs forum a topic with the tittle:

"Why current programs are migrating to java?"
-----------------------------------------------------------
Why current programs are migrating to java?
Komodo stockfish crafty ....etc

java c # are slower than c /c++. Why this change? portability?


-----------------------------------------------------------

And an answer:

-----------------------------------------------------------
Because Java is a secure language. It is robust and platform independent language. Also it provides many applications which are very nice for developing program. Such as applet, it is widely used in Java. There is no problem about security. So this is the main advantage of Java.

-----------------------------------------------------------

So did i miss any news? :o
Does Crafty changes its development and goes to Java?
Does Komodo and Stockfish also?

Last time i checked(and that was for the latest versions :D ) Crafty and Stockfish were in C (or C++ i can't really distinguish).

So what these guys there are talking about? Their confidence(both of the topic starter and the one that answered) in their statements was disarming. They almost persuade me about that.

But i'm not sure if they are true or if they are saying completely random things. :D
Ha, ha, the closest Crafty must have been to Java, was when it participated in the WC in Jakarta.

Miguel
mcostalba
Posts: 2684
Joined: Sat Jun 14, 2008 9:17 pm

Re: Does Crafty or Stockfish or Komodo, going to Java?

Post by mcostalba »

George Tsavdaris wrote: But i'm not sure if they are true or if they are saying completely random things. :D
It's the latter ;-)
User avatar
Bo Persson
Posts: 243
Joined: Sat Mar 11, 2006 8:31 am
Location: Malmö, Sweden
Full name: Bo Persson

Re: Does Crafty or Stockfish or Komodo, going to Java?

Post by Bo Persson »

George Tsavdaris wrote:I read in the Hiarcs forum a topic with the tittle:

"Why current programs are migrating to java?"
-----------------------------------------------------------
Why current programs are migrating to java?
Komodo stockfish crafty ....etc

java c # are slower than c /c++. Why this change? portability?


-----------------------------------------------------------

And an answer:

-----------------------------------------------------------
Because Java is a secure language. It is robust and platform independent language. Also it provides many applications which are very nice for developing program. Such as applet, it is widely used in Java. There is no problem about security. So this is the main advantage of Java.

-----------------------------------------------------------

So did i miss any news? :o
This is just the usual hype about Java. It is supposed to be easier, faster, and more portable than anything else.

Just wonder why Sun chose to implement all the low level parts of the Java HotSpot VM in C++. :-)

http://en.wikipedia.org/wiki/HotSpot
bhlangonijr
Posts: 482
Joined: Thu Oct 16, 2008 4:23 am
Location: Milky Way

Re: Does Crafty or Stockfish or Komodo, going to Java?

Post by bhlangonijr »

Bo Persson wrote:
George Tsavdaris wrote:I read in the Hiarcs forum a topic with the tittle:

"Why current programs are migrating to java?"
-----------------------------------------------------------
Why current programs are migrating to java?
Komodo stockfish crafty ....etc

java c # are slower than c /c++. Why this change? portability?


-----------------------------------------------------------

And an answer:

-----------------------------------------------------------
Because Java is a secure language. It is robust and platform independent language. Also it provides many applications which are very nice for developing program. Such as applet, it is widely used in Java. There is no problem about security. So this is the main advantage of Java.

-----------------------------------------------------------

So did i miss any news? :o
This is just the usual hype about Java. It is supposed to be easier, faster, and more portable than anything else.

Just wonder why Sun chose to implement all the low level parts of the Java HotSpot VM in C++. :-)

http://en.wikipedia.org/wiki/HotSpot

I guess there is some confusion here. Unless it was a joke I am sure no one was saying they were migrating any strong chess engine code base to Java. I guess - i didn' t see such post - they were talking about the GUI or something related.

About the "hype" saying Java is faster than C++: I doubt Sun nor any serious person would claim such nonsense. The JVM itself is written in C++ how could it be faster? In the other hand Java is arguably easier and more portable than C++ - that's for sure: "Write once run everywhere.". :)

There is an interesting website with many benchmarks of many languages:
http://shootout.alioth.debian.org/u32/b ... lang2=java

Regards,
User avatar
Jaap Weidemann
Posts: 62
Joined: Mon Aug 14, 2006 3:47 am
Location: Stellenbosch, South Africa

Re: Does Crafty or Stockfish or Komodo, going to Java?

Post by Jaap Weidemann »

bhlangonijr wrote:"Write once run everywhere.". :)
With compliments of the Qt framework C++ has: "Write once, compile everywhere." :-)

Jaap
http://www.weidchess.com/
yoshiharu
Posts: 56
Joined: Sat Nov 11, 2006 11:14 pm

Re: Does Crafty or Stockfish or Komodo, going to Java?

Post by yoshiharu »

michiguel wrote:
Ha, ha, the closest Crafty must have been to Java, was when it participated in the WC in Jakarta.
ROTFL!

:-D

Cheers, Mauro
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Does Crafty or Stockfish or Komodo, going to Java?

Post by bob »

George Tsavdaris wrote:I read in the Hiarcs forum a topic with the tittle:

"Why current programs are migrating to java?"
-----------------------------------------------------------
Why current programs are migrating to java?
Komodo stockfish crafty ....etc


Don't hold your breath for Java Crafty. I'd as soon port to COBOL.



java c # are slower than c /c++. Why this change? portability?

-----------------------------------------------------------

And an answer:

-----------------------------------------------------------
Because Java is a secure language. It is robust and platform independent language. Also it provides many applications which are very nice for developing program. Such as applet, it is widely used in Java. There is no problem about security. So this is the main advantage of Java.

-----------------------------------------------------------

So did i miss any news? :o
Does Crafty changes its development and goes to Java?
Does Komodo and Stockfish also?

Last time i checked(and that was for the latest versions :D ) Crafty and Stockfish were in C (or C++ i can't really distinguish).

So what these guys there are talking about? Their confidence(both of the topic starter and the one that answered) in their statements was disarming. They almost persuade me about that.

But i'm not sure if they are true or if they are saying completely random things. :D
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Does Crafty or Stockfish or Komodo, going to Java?

Post by bob »

michiguel wrote:
George Tsavdaris wrote:I read in the Hiarcs forum a topic with the tittle:

"Why current programs are migrating to java?"
-----------------------------------------------------------
Why current programs are migrating to java?
Komodo stockfish crafty ....etc

java c # are slower than c /c++. Why this change? portability?


-----------------------------------------------------------

And an answer:

-----------------------------------------------------------
Because Java is a secure language. It is robust and platform independent language. Also it provides many applications which are very nice for developing program. Such as applet, it is widely used in Java. There is no problem about security. So this is the main advantage of Java.

-----------------------------------------------------------

So did i miss any news? :o
Does Crafty changes its development and goes to Java?
Does Komodo and Stockfish also?

Last time i checked(and that was for the latest versions :D ) Crafty and Stockfish were in C (or C++ i can't really distinguish).

So what these guys there are talking about? Their confidence(both of the topic starter and the one that answered) in their statements was disarming. They almost persuade me about that.

But i'm not sure if they are true or if they are saying completely random things. :D
Ha, ha, the closest Crafty must have been to Java, was when it participated in the WC in Jakarta.

Miguel
I would assume many people use Crafty and drink "java" at the same time, so it gets pretty close, regularly. But that is as close as Crafty will get to Java unless someone spills a cup directly onto their CPU. :)
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Does Crafty or Stockfish or Komodo, going to Java?

Post by Don »

George Tsavdaris wrote:I read in the Hiarcs forum a topic with the tittle:

"Why current programs are migrating to java?"
-----------------------------------------------------------
Why current programs are migrating to java?
Komodo stockfish crafty ....etc

java c # are slower than c /c++. Why this change? portability?


-----------------------------------------------------------

And an answer:

-----------------------------------------------------------
Because Java is a secure language. It is robust and platform independent language. Also it provides many applications which are very nice for developing program. Such as applet, it is widely used in Java. There is no problem about security. So this is the main advantage of Java.

-----------------------------------------------------------

So did i miss any news? :o
Does Crafty changes its development and goes to Java?
Does Komodo and Stockfish also?

Last time i checked(and that was for the latest versions :D ) Crafty and Stockfish were in C (or C++ i can't really distinguish).

So what these guys there are talking about? Their confidence(both of the topic starter and the one that answered) in their statements was disarming. They almost persuade me about that.

But i'm not sure if they are true or if they are saying completely random things. :D
Komodo is not moving to java unless the compilers become so good that it can beat C for speed. That would be never ...

Someone may have read that I have built some tools in Java - that doesn't mean the chess program itself.