News for hackers. Stuff that matters.
Re:Hello Lua by signa11 on Friday April 29, 2016 @12:53PM (#11596994)
> While I agree with your premise (LuaJIT is a pretty awesome project), this example means nothing in terms of performance.

Yup, without knowing deployment details etc this number doesn't really mean much.

perhaps you might have heard of the snabb-switch project ? which does line rate 10gbps forwarding of 64b packets on a single x86 core. entire thing is written in lua including the user land 'drivers' for Intel 10g cards :)

Edit: s/shabby/snabb (damn you autocorrect)

Re:Hello Lua by i336_ on Saturday April 30, 2016 @06:45AM (#11601203)
Wait, wait. Lua or LuaJIT? That's amazing!
Re:Hello Lua by signa11 on Monday May 02, 2016 @02:39AM (#11609538)
> Wait, wait. Lua or LuaJIT? That's amazing!

from 'user' perspective you are still writing lua code. lua-jit would be an optimizing compiler doing it's magic no ? get the code from here : https://github.com/snabbco/snabb

Re:Hello Lua by i336_ on Monday May 02, 2016 @06:27AM (#11610347)
The README says it uses both Lua and LuaJIT, and I can see clear references to LuaJIT in the codebase.

I'd heard of snabb a little while ago (I think in the context of Erlang), but this only makes it even more interesting. Thanks for the pointer!