Re:Ask HN: What source code is worth studying?
by jballanc on Thursday April 17, 2014 @05:44AM
(#7602717)
Agreed, and after you've worked through the source to the canonical implementation of Lua, you can level-up by looking into the source of LuaJIT: http://luajit.org/download.html
[ Parent
| on HN ]
Re:Ask HN: What source code is worth studying?
by aktau on Thursday April 17, 2014 @05:54AM
(#7602745)
Both are immensely awesome codebases, but the level-up is perhaps a bit too steep. Going from delightful ANSI C (vanilla Lua) to a lot of assembly + C (LuaJIT's interpreter) and runtime assembly generation (the JIT) is no slight task.