Hello all good programming people,
and my best wishes for 2018.
I was doing a rudimentary (and probably
not correct or representative) benchmark for NetRexx.
A comparison between the same program
written in C++, JAVA, NetRexx_DEC and NetRexx_BIN.
Something simple, just a loop 1 to 100
= int 100000000 -- 100
= int (target / 10)
timeA = System.currentTimeMillis();
loop i=1 to target
if i // status = 0
then say i
timeB = System.currentTimeMillis();
Say "********* It took: " timeB-timeA " milliseconds."
I did not expect these results:
milliseconds (NetRexx 3.06)
(NetRexx 3.06 - options BINARY)
I mean, I expected that C++ indeed the fastest was, but I expected a bigger
difference in execution time.
Then I expected JAVA to be the second
fastest, but it was NetRexx (BIN). !
If my test results are correct, I do
not understand why isn't the whole world switching to NetRexx as the best
programming language for the JVM ;-)