Re: [fpc-pascal] How does FPC perform in the FASTEST Computer Language Race

2021-07-11 Thread Ralf Quint via fpc-pascal
On 7/10/2021 10:20 AM, Ryan Joseph via fpc-pascal wrote: I guess that video is totally false or I'm missing something There is no easier way to cheat than using benchmarks... ;-) Ralf -- This email has been checked for viruses by Avast antivirus software.

Re: [fpc-pascal] How does FPC perform in the FASTEST Computer Language Race

2021-07-11 Thread Sven Barth via fpc-pascal
Ryan Joseph via fpc-pascal schrieb am So., 11. Juli 2021, 01:19: > > > > On Jul 10, 2021, at 11:18 AM, Jonas Maebe via fpc-pascal < > fpc-pascal@lists.freepascal.org> wrote: > > > > A constexpr function means that it must be computable at compile time if > > all of its arguments are also

Re: [fpc-pascal] How does FPC perform in the FASTEST Computer Language Race

2021-07-10 Thread Ryan Joseph via fpc-pascal
> On Jul 10, 2021, at 11:18 AM, Jonas Maebe via fpc-pascal > wrote: > > A constexpr function means that it must be computable at compile time if > all of its arguments are also constexpr. So like the "pure" functions that Gareth was working on? Seems to have moved on from the idea but I

Re: [fpc-pascal] How does FPC perform in the FASTEST Computer Language Race

2021-07-10 Thread Ryan Joseph via fpc-pascal
> On Jul 9, 2021, at 4:56 PM, Ryan Joseph wrote: > >> Current standings at the time of this video >> Iterations per sec: >> Ada: 67 >> Pascal: 143 >> Fastest language: 7301 >> Slowest language: 1 > > So Pascal failed pretty bad it looks like. ;) I just ran that unit with -O2 and got nearly

Re: [fpc-pascal] How does FPC perform in the FASTEST Computer Language Race

2021-07-10 Thread Jonas Maebe via fpc-pascal
On 10/07/2021 18:46, Ryan Joseph via fpc-pascal wrote: > Here's the C++ version that won. Looks like the magic comes from constexpr, > which I don't understand very well in C++ except that it's a constant > expression. Can anyone explain how constexpr works here? A constexpr function means that

Re: [fpc-pascal] How does FPC perform in the FASTEST Computer Language Race

2021-07-10 Thread Ryan Joseph via fpc-pascal
> On Jul 10, 2021, at 4:16 AM, Guillermo via fpc-pascal > wrote: > > Hi, > > I remember years ago a similar test in a web page. Pascal was way low > in the list, even below Java and Python! but we (in a forum) found that > it wasn't Pascal fault: most versons program were optimised in code

Re: [fpc-pascal] How does FPC perform in the FASTEST Computer Language Race

2021-07-10 Thread Guillermo via fpc-pascal
Hi, I remember years ago a similar test in a web page. Pascal was way low in the list, even below Java and Python! but we (in a forum) found that it wasn't Pascal fault: most versons program were optimised in code while Pascal used brute force (also compiling using -O3 made it way faster than

Re: [fpc-pascal] How does FPC perform in the FASTEST Computer Language Race

2021-07-10 Thread Peter via fpc-pascal
On 09/07/2021 23:56, Ryan Joseph via fpc-pascal wrote: On Jul 9, 2021, at 11:40 AM, Wayne Sherman via fpc-pascal wrote: Current standings at the time of this video Iterations per sec: Ada: 67 Pascal: 143 Fastest language: 7301 Slowest language: 1 So Pascal failed pretty bad it looks like.

Re: [fpc-pascal] How does FPC perform in the FASTEST Computer Language Race

2021-07-10 Thread Jonas Maebe via fpc-pascal
On 10/07/2021 00:56, Ryan Joseph via fpc-pascal wrote: > > >> On Jul 9, 2021, at 11:40 AM, Wayne Sherman via fpc-pascal >> wrote: >> >> Current standings at the time of this video >> Iterations per sec: >> Ada: 67 >> Pascal: 143 >> Fastest language: 7301 >> Slowest language: 1 > > So Pascal

Re: [fpc-pascal] How does FPC perform in the FASTEST Computer Language Race

2021-07-09 Thread Ryan Joseph via fpc-pascal
> On Jul 9, 2021, at 11:40 AM, Wayne Sherman via fpc-pascal > wrote: > > Current standings at the time of this video > Iterations per sec: > Ada: 67 > Pascal: 143 > Fastest language: 7301 > Slowest language: 1 So Pascal failed pretty bad it looks like. ;) Regards, Ryan Joseph

Re: [fpc-pascal] How does FPC perform in the FASTEST Computer Language Race

2021-07-09 Thread Winfried Bartnick via fpc-pascal
Ohh Nooo! Back in the 80s. Winni Am 09.07.21 um 19:40 schrieb Wayne Sherman via fpc-pascal: If you are a speed geek, you will probably be interested in this. What is the FASTEST Computer Language? 45 Languages Tested! (E01) https://www.youtube.com/watch?v=tQtFdsEcK_s Current standings at

[fpc-pascal] How does FPC perform in the FASTEST Computer Language Race

2021-07-09 Thread Wayne Sherman via fpc-pascal
If you are a speed geek, you will probably be interested in this. What is the FASTEST Computer Language? 45 Languages Tested! (E01) https://www.youtube.com/watch?v=tQtFdsEcK_s Current standings at the time of this video Iterations per sec: Ada: 67 Pascal: 143 Fastest language: 7301 Slowest