Re:Why Go Rocks for Building a Lua Interpreter
by ufo on Sunday June 29, 2025 @01:22PM
(#44414739)
I know the author starts the post by saying he won't explain the reasons why he had to write a new Lua interpreter from scratch, but I'm still curious about that. Does anyone know? I dug through some of the links in the post and couldn't find the answer.
[ Parent
| on HN ]
Re:Why Go Rocks for Building a Lua Interpreter
by zombiezen on Sunday June 29, 2025 @03:43PM
(#44415760)
Yup, as others have mentioned, it's for zb. I originally outlined some background on design goals for this blog post, but the outline for that section was as big as the outline for the rest of the post, so I cut it. I'll probably write that one up as another blog post in the near future. :)
(Also, my pronouns are she/her.)
Re:Why Go Rocks for Building a Lua Interpreter
by Lyngbakr on Sunday June 29, 2025 @01:27PM
(#44414773)
This is exactly the part I got hung up on, too.
The exact reasons aren’t important for this blog post, but neither the reference implementation [...] nor the other open source Go Lua intepreters I could find were a good fit for my needs.
I'm intrigued because presumably the shortcomings of the other implementations are important to how they chose to implement Lua here.
Re:Why Go Rocks for Building a Lua Interpreter
by Scaevolus on Sunday June 29, 2025 @01:33PM
(#44414812)
It's for zb, a Bazel-inspired build system that uses Lua instead of Starlark (stripped down python).
Re:Why Go Rocks for Building a Lua Interpreter
by mdaniel on Sunday June 29, 2025 @01:56PM
(#44414988)
Zb: An Early-Stage Build System - https://news.ycombinator.com/item?id=41595310 - Sep, 2024 (125 comments)
and the beta announcement was also recently submitted, but without commentary https://news.ycombinator.com/item?id=44290692