Hacker News new | past | comments | ask | show | jobs | submit login

I couldn't help it.

Take a look at map/filter/reduce loop collapsing, and function inlining using AST analysis. It makes the code go really fast in LuaJIT. https://github.com/meric/l2l/#zero-cost

That kind of abstraction can be written as an extension module and imported as easily in the language as if it were another Lua module.




Cool! I'm not literate in Lua so the context-switching is rough on my eyes, but I think it's a neat synthesis none the less!


Hmm, that's an interesting concern....and thanks for taking a look. :-)




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: