News for hackers. Stuff that matters.
Re:Building the fastest Lua interpreter.. automatically by JonChesterfield on Wednesday November 23, 2022 @03:49AM (#33716689)
Adding calling conventions to clang is fairly straightforward (e.g. https://reviews.llvm.org/D125970) but there's a limited size structure in clang somewhere that makes doing so slightly contentious. Partly because they're shared across all architectures. At some point we'll run out of bits and have to do something invasive and/or slow to free up space.
Re:Building the fastest Lua interpreter.. automatically by haberman on Wednesday November 23, 2022 @10:27AM (#33720344)
Yes, I've already experimented with doing this, see: https://github.com/haberman/llvm-project/commit/e8d9c75bb35c...

But when I tried it on my actual code, the results weren't quite as good as I hoped, due to sub-optimal register allocation.