Original Post
I was playing with java a bit and was working on a small game when I decided to check what numbers java was capable of working with 2d.
I used a 640 x 480 pxl window to test. 32bit colors.
SDL managed around 600 fps when only blitting a very small image.
Java managed a whooping 200000+ fps.. I used the same way to check fps. Only the timer was different. SDL used SDL_GetTicks() and Java used System.nanoTime().
I know that using OpenGL on the same machine in the same way results in about 5000fps.
How can this be possible? Shouldnt c++ be way faster than java?
And Java2d supports stuff like scaling,rotating and the likes so if it can substain those kinds of fps doing that, thats just scary
Machine tested on was amd 2500+,512mb, ati 9500pro.
Java applet was run in appletviewer.
SDL app was using SDL_DisplayFormat on image.
Can these results really be true?