On 04/09/2020 10:35, druck wrote:
> On 03/09/2020 09:47, Richard Kettlewell wrote:
>> Martin Gregorie writes:
>>> Mayayana wrote:
>>>> Java, like .Net, is far slower than native compiled software.
>>>
>>> Might have been once, but current versions are pretty slick. Its a bit
>>> slower when its getting started and pulling in library classes from
>>> disk,
>>> but that its not what you'd call slow.
>>
>> Mono’s CIL JIT was empirically beating GCC on computationally intensive
>> code a decade ago (probably by making better register allocation choices
>> although I didn’t delve into it deeply). No idea what the situation is
>> today but I’d expect them to be pretty similar.
>
> I'd say that from what I'm doing the Mono CIL on AMD64 is between 1.5x
> and 8x slower. For computational intensive stuff probably about 4x. Half
> that on the Windows CLR.
>
That surprises me, my memory from circa 2003 was that C# numerical stuff
ran at about the same speed as C++, my memory is poor to exact details,
I would have probably have categorized 80% as the same speed. I would
have probably tested using some type of numerical integration routine.
I don't know how you tested, I do remember there was a performance
penalty gotcha from switching between managed and unmanaged code.
> On the Raspberry Pi 4B mono is about 9x slower for both 32 and 64 bit
> OS's, so a far less mature JIT.
>
I will try to do a test of .net core in the near future, particularly on
the rPi.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|