lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 15/07/2013 19:24, Roberto Ierusalimschy wrote:
Maybe this should be of interest:

http://raid6.com.au/~onlyjob/posts/arena/

This test is ridiculous. Whoever wrote the code does not know how
to program in Lua (or in Java or in Javascript).

Indeed. Writing code that seems specially designed to generate lot of garbage is good to give Java a bad name: lot of CPU to create the objects and do the copy of data, lot of memory used until the garbage collector kicks in, and no warm up phase.
It is not better for other languages with immutable strings and GC, etc.

Pointless benchmarks (no real world code) are pointless.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --