VM vs Static compiles.

Brian Sturgill c.brian.sturgill at gmail.com
Fri Dec 15 18:27:30 UTC 2023


Shortly after the meeting officially ended, a group of us were discussing
an observation
I made that the 4 major VM languages (Java, C#, JavaScript and Dart) are all
creating "AOT" versions AOT is Ahead-Of-Time and just means they are
statically
compiling instead of JITing.

There was some disagreement about the speeds of static vs. compiled
languages.

The following is from:

https://benchmarksgame-team.pages.debian.net/benchmarksgame/box-plot-summary-charts.html

I am looking at the "How many times more CPU seconds" charts.

The numbers should be treated as approximate as I'm reading off a box plot.
The number for C# is mostly referring to the AOT versions (as they are
choosing the fastest).
I do not think that AOT compiling is being used for Dart, Java and Node.js.

C            1.0
C++          1.1
Rust         1.2
Julia        2
C#           2
Go           3
Swift        3
Java         3.5
Node.js      4.4
Dart         4.5
Ruby        30.0
Python3     40.0
Lua         40.0
Perl        45.0

Other such benmarks I've seen are similar.
Julia and Ruby have made great strides since the last time I was looking.
It is impressive that C# is beating Go and Swift.
-- 

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nclug.org/pipermail/nclug/attachments/20231215/8f841b4a/attachment.htm>


More information about the NCLUG mailing list