[fpc-pascal] FPC Graphics options?

Reimar Grabowski reimgrab at web.de
Thu May 18 17:33:44 CEST 2017


On Thu, 18 May 2017 22:04:19 +0700
Ryan Joseph <ryan at thealchemistguild.com> wrote:

> > On May 18, 2017, at 9:58 PM, Reimar Grabowski <reimgrab at web.de> wrote:
> > 
> > No, they should not.
> > It's no real world problem, just a test program. A real game would be done differently and then FPC is fast.  
> 
> Asking honestly, so you don’t think there’s anything troubling about a 8 fps vs 40 fps from the same code? After I looked at the code I didn't see anything strange about it so it just got me thinking, if that code can be that slow how slow is all the stuff I’m writing on a daily basis? It’s just worrying that’s all. 

Honestly, if I would use FPC on a daily basis I would have profiled Graemes code the moment it came to my attention but I don't so ...
As my FPC use is currently only hobby I don't care as much.
But to be fair when I coded my little learning 3D OpenGL engine 15+ years ago with FPC, I was able to reach nearly the peak performance triangle throughput of my card so it was fast enough and nowadays even more calculations be can moved to the GPU.
And without joking you can do games in Python just fine if you use your GPU. You can do great stuff in the browser as well with WebGL and JS is clearly not faster than FPC.

R.



More information about the fpc-pascal mailing list