Lua Fun: A high-performance functional programming library designed for LuaJIT
1–10 of 34 posts
Re: Lua Fun: A high-performance functional programming library designed for LuaJIT
#2Please considering sponsoring [1] LuaJIT so that Mike can continue working on it.
Lua Fun looks like a wonderful addition to the Lua ecosystem.
Re: Lua Fun: A high-performance functional programming library designed for LuaJIT
#3Re: Lua Fun: A high-performance functional programming library designed for LuaJIT
#4Any particular reason for that?
Re: Lua Fun: A high-performance functional programming library designed for LuaJIT
#5Re: Lua Fun: A high-performance functional programming library designed for LuaJIT
#6Re: Lua Fun: A high-performance functional programming library designed for LuaJIT
#7Even though we occassionally talk about Lua on HN, it frankly still doesn't get enough attention - nor does Mike Pall and his fantastic work on LuaJIT. Please considering sponsoring [1] LuaJIT so that Mike can continue working on it. Lua Fun looks like a wonderful addition to the Lua ecosystem. [1] http://luajit.org/sponsors.html
Re: Lua Fun: A high-performance functional programming library designed for LuaJIT
#8I wish that Lua get more attention.
Re: Lua Fun: A high-performance functional programming library designed for LuaJIT
#9Is this similar to the functools package in Python? If so, that would certainly convince me to use Lua for some of what I use Python for.
Re: Lua Fun: A high-performance functional programming library designed for LuaJIT
#10Take this example containing functional composition and higher-order functions:
reduce(operator.add, 0, map(function(x) return x^2 end, range(n)))
LUA converts this into 10 lines of assembler (2 jumps). Also, the LUA compiler is directly generating SSE.
Anyone have any good benchmarks comparing simple functional examples in LUA with Clojure or Common Lisp?