[HN Gopher] A Walk with LuaJIT
___________________________________________________________________
A Walk with LuaJIT
Author : damir
Score : 63 points
Date : 2024-11-19 07:38 UTC (2 days ago)
(HTM) web link (www.polarsignals.com)
(TXT) w3m dump (www.polarsignals.com)
| brancz wrote:
| 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!
| neomantra wrote:
| Very deep dive, thank you for sharing it all. So cool it
| traverses callbacks too.
| brancz wrote:
| 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.
| alberth wrote:
| I'm tremendous excited about LuaJIT 3.0 development.
|
| https://github.com/LuaJIT/LuaJIT/issues/1092
|
| Q: does anyone know timeline on the release?
| rurban wrote:
| Looks like 10 years to me
| slekker wrote:
| Why do you think that?
| gnurizen wrote:
| 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!
___________________________________________________________________
(page generated 2024-11-21 23:00 UTC)