Quote:
I thought java was slow because of the Virtual Machine....
no matter, I'm interested in seeing how they pulled this off using an object-oriented language, being a java programmer myself :3
|
Java can be slow if the Java code has to be interpreted on the fly. Remember that running Java code is a two step process. First, the source files are
compiled into bytecodes; those are the the *.class files that the javac compiler produces.
The second step varies. If the bytecodes are
interpreted, yes Java can be slow because each individual bytecode is interpreted on the fly. The other way bytecodes can be processed is throught the JIT compiler. Bytecodes used this way are compiled into machine code; this is where Java can reach speeds comparable to other compiled languages. Since most of the compilation time is spent compiling source into bytecodes, the compilation from bytecodes to machine code is very small.
Quote:
should be interesting to see how well it performs. altho i spose it depends how far they go with it, they might just make a Playstation interpreter, altho they are talking about it needing lots of speed, so they may work on a recompiler for it.
be interesting to see how it performs against the PSX emu giants such as ePSXe, PSXeven, AdriPSX and PCSX :P
|
I was there. It was a thing of beauty (for a software based renderer), although there was yet any kind of configuration interface or anything. It should be relatively simple to write the code to setup input plugins, tho. As mentioned previously, the architecture allows plugins to be written for it (as other versions of the *.class or *.jar files, I imagine), so if someone can write one using Java3D or another 3D graphics Java API, we'd be in heaven.
There was a limited selection of games chosen (Crash Bandicoot, Wipeout XL, and Oddworld), but it was amazing to see them all run at full speed AT THE SAME TIME. I don't know what hardware the test system was running, but it was clearly a Windows XP machine.
Incidentally, it turns out the presentation slides are available at the JavaOne website, so I'm leaving instructions here on how to get them. Sorry, still no screenshots or videos. You'll have to ask around.
Instructions for getting presentation slides.
- Go to the JavaOne website. (hxxp://java.sun.com/javaone/sf/index.jsp,
replace the "hxxp" with "http")
- Click on the link that says "New for 2006 - Download Presentation PDFs Now"
- You should get a webpage that says "Content Catalog Viewer"
- Click Start Search and wait for the search results
- Note the username and password at the top of the search results.
- Search the webpage for the word "PlayStation"
- Click the paperclip icon on the left to download the slides (Adobe PDF format); you will need to enter a username and password, they should be the ones given at the top of the search results.
It's pretty deep and even with the author there, it was mad code. A true Java Master will be able to understand it fully, but it was still intriguing.
Quote:
|
but I can say that I saw four instances of this emulator running smoothly simultaneously on a Windows XP machine and at least two on a Mac.
|
I correct myself, three instance of JPSX were running at the same time. I'm not sure about the Mac, although I'm almost certain more than one was running on it.
Last edited by SirSanjiyan; May 20th, 2006 at 00:11..