Well, with LuaJIT you get speed.<p>How much speed?<p>CloudFlare&#x27;s firewall system uses LuaJIT to analyse approximately 4 million GET requests per second.<p>(<i>Small pause, reread</i>)<p><i>That</i> much speed. That was the figure in June 2015, at least.<p>Some of the autogenerated code looks like this: <a href="http:&#x2F;&#x2F;i.imgur.com&#x2F;F5aT0NF.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;F5aT0NF.png</a> (snagged via pdfimages from <a href="http:&#x2F;&#x2F;www.slideshare.net&#x2F;jgrahamc&#x2F;lua-the-worlds-most-infuriating-language" rel="nofollow">http:&#x2F;&#x2F;www.slideshare.net&#x2F;jgrahamc&#x2F;lua-the-worlds-most-infur...</a>)<p>This video was where I had my major TIL moment: <a href="http:&#x2F;&#x2F;www.thedotpost.com&#x2F;2015&#x2F;06&#x2F;john-graham-cumming-i-got-10-trillion-problems-but-logging-aint-one" rel="nofollow">http:&#x2F;&#x2F;www.thedotpost.com&#x2F;2015&#x2F;06&#x2F;john-graham-cumming-i-got-...</a><p>I also got the impression from the one other page of autogenerated code briefly visible in this video that the firewall logic is also full of regular expressions. And yet, it completes its analysis in roughly less than 1 millisecond.<p>It&#x27;s almost a crime I haven&#x27;t learned LuaJIT yet. :P<p>That said, looking at the slideshare link, you can see that Lua as a language has some pretty annoying syntax, so I&#x27;ve sorta been shying away from it.<p>So maybe I&#x27;ll learn HaXe instead. :D