On 5/02/2016 10:49 AM, Andrew Rowley wrote:
On 5/02/2016 13:37, Mike Schwab wrote:
C? Can you give Lua a shot?
https://en.wikipedia.org/wiki/Lua_(programming_language)
http://www.lua.org/versions.html
http://luaforge.net/projects/mvs38/
http://lua4z.com/doc/manual/using.md.html
I don't have the time to learn Lua at the moment, but if someone else
wants to try it I am happy to create the Java equivalent for a
comparison.
Lua is within an order of magnitude to C
http://users.tpg.com.au/crayford/rexx-lua-c-io-benchmark.htm. The
overhead is the Lua VM and string libraries. LuaJIT (not on z/OS)
is snapping on the heels on gcc -O3 and would kick Javas backside. I've
seen it beat C++!
I did some comparisons with Java and it's difficult to gauge because of
the JVM and JIT overhead. Java is a fast horse that needs a couple of
laps around the track to warm up.
The C and Assembler tests were just to gauge I/O cost, so they did
nothing but read every record.
The Java test did create a basic report to ensure that the file read
didn't get optimized out or something silly like that.
Andrew Rowley
Black Hill Software
+61 413 302 386
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN