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 the web proclaimed so we suspect they used -O- or even
worse a relic compiler [Turbo Pascal 1?]). Once fixed it was almost
unoticeably behind C in both FPC and Delphi (Delphi result was a bit
faster).

Anyway I haven't seen the video yet.

Regards,
Guillermo "Ñuño" Martínez

El Fri, 9 Jul 2021 10:40:55 -0700
Wayne Sherman via fpc-pascal <fpc-pascal@lists.freepascal.org> escribió:
> 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 language: 1
> 
> "HD Episode 01: Retired Microsoft engineer Dave Plummer takes you on a
> guided tour of 45 different computer languages and drag races each
> against one another using a prime sieve benchmark.  From Ada to Zig
> and everything in between, find out which is fastest and which is
> slowest."
> 
> Github:  https://github.com/PlummersSoftwareLLC/Primes
> 
> Current Pascal code:
> https://github.com/PlummersSoftwareLLC/Primes/tree/drag-race/PrimePascal/solution_1
> Current Delphi code:
> https://github.com/PlummersSoftwareLLC/Primes/tree/drag-race/PrimeDelphi/solution_1
> 
> Pull requests for faster/better implementations:
> https://github.com/PlummersSoftwareLLC/Primes/pulls
> 
> Related:
> https://components4developers.blog/2021/07/04/delphi-sieve-candidates-to-the-fastest-programming-language-contest/
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to