Live data from Hacker News

A Walk with LuaJIT

polarsignals.com

1–10 of 28 posts

Re: A Walk with LuaJIT

#2
Thanks for submitting! We know HN has a sweet spot for LuaJIT, so we figured it would eventually end up here.

Quick summary: this post dives into the gory details of how we implemented an eBPF based profiler for LuaJIT.

Let us know if you have any questions on this, we’ll keep an eye out on comments!

Re: A Walk with LuaJIT

#5
post #2

Thanks for submitting! We know HN has a sweet spot for LuaJIT, so we figured it would eventually end up here. Quick summary: this post dives into the gory details of how we implemented an eBPF based profiler for LuaJIT. Let us know if you have any questions on this, we’ll keep an eye out on comments!

Very deep dive, thank you for sharing it all. So cool it traverses callbacks too.

Re: A Walk with LuaJIT

#6
post #2

Thanks for submitting! We know HN has a sweet spot for LuaJIT, so we figured it would eventually end up here. Quick summary: this post dives into the gory details of how we implemented an eBPF based profiler for LuaJIT. Let us know if you have any questions on this, we’ll keep an eye out on comments!

Very deep dive, thank you for sharing it all. So cool it traverses callbacks too.

Glad you liked it! Yeah, we worked with a customer who really needs this badly and has done some unspeakable things to get by until now.

Re: A Walk with LuaJIT

#8
I wrote the code and the blog, happy to answer any questions/comments. Very eager to have folks try it out and give feedback! Like is my meme game strong or very strong? J/K

There's some missing bits around FFI and callbacks (i.e. C calling function pointer that is a luajit generated stub back into the interpreter) and curious if anyone actually uses these things in OpenResty workloads. Deploy and enjoy!

Re: A Walk with LuaJIT

#9
post #2

Thanks for submitting! We know HN has a sweet spot for LuaJIT, so we figured it would eventually end up here. Quick summary: this post dives into the gory details of how we implemented an eBPF based profiler for LuaJIT. Let us know if you have any questions on this, we’ll keep an eye out on comments!

[deleted]

Re: A Walk with LuaJIT

#10
post #7
post #4

Earlier quoted context omitted.

Looks like 10 years to me

Why do you think that?

None of the items listed there have been ticked off in the time since the ticket was opened, not even the “create v3 branch” one. Mike also has had plans for v3 for at least the last decade too.

So, I’m sure it’ll get worked on when he can, and it’ll be great when it’s done, but it doesn’t look like there’s active development on it and it doesn’t look like it will happen any time soon. I hope in wrong, of course, but it just doesn’t seem likely.

Post reply on HN