I never had a practical use for paralel for in ten years of programming. (while my apps are generally multithreading).google search? the human genome project? SETI?
I always wonder a bit why people think it is so great? Anybody have real world examples?
Also, any chance of throwing a comparison with FreePascal version compiled with -O4 to the mix?No, because he thinks Lazarus IS a compiler. Well, we all know that that's not the case....
I never had a practical use for paralel for in ten years of programming. (while my apps are generally multithreading).It's more to ease of use, I guess. "Modern" programmers think that managing threads (or processes, don't really care the backend) manually is cumbersome and time consuming, so if they have built-in solution they will prefer that regardless its overhead whatsoever they can't control, at least that's what my CTO thinks.
I always wonder a bit why people think it is so great? Anybody have real world examples?
Made a benchmark in a real hurry of Delphi 10.1 x64 vs Visual Studio 2015 x64.
@srcstorm
It is not a Lazarus program.
Lazarus uses the FPC compiler.
These compiler settings can all be set in Lazarus. What a stupid remark. >:D >:D
The performance comes from the compiler, not from Lazarus. You are testing performance, NOT an editor.
It's more to ease of use, I guess. "Modern" programmers think that managing threads (or processes, don't really care the backend) manually is cumbersome and time consuming, so if they have built-in solution they will prefer that regardless its overhead whatsoever they can't control, at least that's what my CTO thinks.
addl $1,%r9d
movslq %ebx,%rax
movslq %r9d,%r8
cqto
idivq %r8
testq %rdx,%rdx
jne .Lj13
mov eax, ebx
cdq
idiv ecx
test edx, edx
je .L5
I suppose since they use "idiv" instead of "idivq", it might be faster, is there any way to tell FreePascal to do that?
Nothing can be less important than your opinions.Is that an insult? Because that blog's publication AND your post just sound like a hype marketing, but if one gets to bottom of it, the benchmarks actually show quite the opposite. The company must be desperate for sales...
Your opinions, prejudices, impressions have no value for me. Get lost.You must be burning from inside, but there's no reason for crying. What did you expect, that nobody would dare to verify your tests? Why don't you try to re-run the tests, but now enable proper optimization options in Visual Studio? Universe is full of surprises.