3 ms·
Without seeing the source code for the application, including the entire DX engine, this is a useless comparison. There are really dumb ways of using all the d
by angersock 14y ago
Without seeing the source code for the application, including the entire DX engine, this is a useless comparison.
There are really dumb ways of using all the different C++ libs and features out there, and there are really smart ways of writing WebGL (read: OpenGL ES 2.0 ish) code.
The author might be running into other threading issues in their old DX9 engine code, they might be locking things, they might be doing whatever, and the web stuff my be skipping that.
This is a rubbish comparison unless we see the whole picture--might as well compare a new bicycle doing a quarter mile to an old pickup with a clapped-out transmission, and then decide cars are now useless.
- AshleysBrain 14y agoHey, author here. Construct Classic is actually open source - the renderer code is here: http://construct.svn.sourceforge.net/viewvc/construct/Common/CDisplay.cpp?revision=172&view=markup http://construct.svn.sourceforge.net/viewvc/construct/Common... I don't think we did anything really dumb - but it was quite a long time ago now! We did still spend a fair amount of time optimising it. I still think its amazing the two could be so close, when personally I think both are reasonably well written. At the time Classic beat a bunch of our old competitors on performance, too.
- angersock 14y agoAh, hey, no sweat. Didn't mean any offense--I'm just a bit skeptical of the methodology. Yeah, it's cool that the performance is comparable at all. :) If you'd be interested in chatting about engine dev, hit me up through my profile. Always happy to talk shop.