jintal wrote:Ah you use java with the ps3? Are you doing it there to get some speed benefits or just because?
Just because mostly. I'm not a big fan of C or C++, to be honest. Couldn't tell you why exactly - they just seem to rub me the wrong way. I guess it's stuff like pointers, handles, and the "feature" in C that allows you to reduce extremely complex C code to a couple of incomprehensible lines. Java's kinda like a C that doesn't let you "cheat", I guess.
And - I use Java in general - not just PS3. Of course, the side benefit is that any Java I write anywhere runs on the PS3 without a recompile. That's another reason I dig Java. That - and the IBM Java for the PS3 is pretty decent.
BTW - that's the first thing I do when I perform a fresh install of YDL. I replace the open source GCJ with IBM's PowerPC Java. Much faster and lighter.
jintal wrote:I wrote a simple python script to test the speed of the execution, in my core 2 duo, the script ran for 6 secs. In YDL in PS3, it ran for 20 secs.. I guess that's the PPE doing all the job.
Exactly - no SPEs were invoked. Don't expect wonders from the PPE. It's a single core, dual threaded, moderately fast, in-order execution PowerPC processor. One cool thing about it, though, is that it does have the AltiVec extension. I wasn't actually expecting that.
Cheers,
Paul