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.
On the Raspberry Pi 4B mono is about 9x slower for both 32 and 64 bit
OS's, so a far less mature JIT.
Its not quite as bad on Python JIT. pypy comes 10x slower than gcc on
AMD64, but 13x slower on 32 bit ARM. Don't even try pypy on 64 bit ARM
as there's no JIT and its hundreds of times slower, 3x worse than
interpreted Python, slower even than Perl!
---druck
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|