Java faster than C++ ?

On Tue, 5 Feb 2019 at 17:12, Graeme Geldenhuys <
[email protected]> wrote:

> On 03/02/2019 22:15, code dz wrote:
> > in simple programs yes , fpc may match up c/c++ speed , but in a real
> > world app e.g ( ray tracer )  there is no chance , unless you go down
> > and write assembly .
>
>
> That was my first-hand experience too. I wrote a 3d ray caster for a
> demo/game using FPC (code was made public in the Lazarus forums). No
> matter what was suggested, I couldn't get close to the performance of
> that same program written in C++ or Java. In fact, Java was the fastest
> (by a large margin) out of FPC's Object Pascal, C++, JavaScript and
> Java. FPC was even slower than JavaScript.
>
> I queried that with the FPC team. Their reply... They know FPC is
> lagging in performance, but that is due to their choice. They chose
> maintainability over performance, because they are a small development
> team.
>
> So in my opinion, unless the FPC team grows massively, or there is a
> dedicated developer in the FPC team that works purely on performance,
> nothing is going to change.
>
> Regards,
>   Graeme
>
> --
> fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
> http://fpgui.sourceforge.net/
>
> My public PGP key:  http://tinyurl.com/graeme-pgp
>
>
> _______________________________________________
> mseide-msegui-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Noël Frankinet
Strategis sprl
0478/90.92.54
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to