yuin/gopher-lua
View on GitHub ↗ ★ 6,999 Go
GopherLua: VM and compiler for Lua in Go
13 mentions on Hacker News by 12 people: 1 story, 12 comments · first 2015-02-21 · latest 2026-05-13
20082026
-
…write a new server today, I could very well write it in Go, then use GopherLua for the Lua engine: https://github.com/yuin/gopher-lua Although, even here, the advantage of C is that I could increase performance by using LuaJIT:…
comment by strenholme · 2026-05-13 · in CERT is releasing six CVEs for serious security vulnerabilities in dnsmasq -
…I measured a small perf improvement switching gopher-lua to switch: https://github.com/yuin/gopher-lua/pull/479 edit: looking closer, not sure `compiler.CallBuiltin` is doing them a favor anymore. They seem to have a lot of do
comment by __s · 2024-04-14 · in Go performance from version 1.0 to 1.22 -
…CGO) Lua implementations for Go and it's a great choice if you want an embedded scripting language: https://github.com/yuin/gopher-lua https://github.com/Shopify/go-lua Unless you specifically need a JVM either of these will be a much more…
comment by donio · 2023-08-24 · in Jacobin: A more than minimal JVM written in Go -
python, Lua and JS These functions are implemented by these packages: github.com/dop251/goja github.com/yuin/gopher-lua go.starlark.net Go scripts (programs) are not subject to any restrictions. So there is no Go script support in the…
comment by vanishs · 2023-02-15 · in Show HN: Lockval Engine – A distributed backend KV engine that can run scripts -
I'm generally using Visual Studio Code for all my development. Really like it. I chose https://github.com/yuin/gopher-lua as the Lua engine because it is Golang-based, while the Nginx Lua VM is C, unless I'm mistaken. Using gopher-lua is…
comment by rlonn · 2022-02-24 · in Show HN: Supershields.io – smart, Lua-powered SVG status badges -
Some other implementations of Lua: https://github.com/yuin/gopher-lua Lua in Go https://github.com/fengari-lua/fengari Lua in Javascript https://github.com/moonsharp-devs/moonsharp Lua in C#
comment by strenholme · 2021-12-27 · in Lua: Good, Bad, and Ugly Parts (2012) -
…- these are all considered different major versions of the language (Lua doesn’t use SemVer). [0] https://github.com/yuin/gopher-lua [1] https://github.com/Shopify/go-lua [2] https://github.com/Azure/golua
comment by pansa2 · 2021-04-08 · in Show HN: LadyLua, batteries-included static Lua 5.1 interpreter -
…a couple different Lua implementations in Go. Has anyone researched the difference between them? https://github.com/yuin/gopher-lua https://github.com/Shopify/go-lua https://github.com/milochristiansen/lua https://github.com/afitz/golua
comment by jzelinskie · 2017-10-02 · in A Lua 5.3 VM and compiler written in Go -
This seems to be a thin wrapper for the actual Lua VM implemented in Go: https://github.com/yuin/gopher-lua
comment by daliwali · 2017-04-11 · in Show HN: Glua, a Full-Featured Lua VM for Nodejs and the Browser -
…also GopherLua [1], which is more active and supports features like coroutines and channels. [1] https://github.com/yuin/gopher-lua
comment by ferbivore · 2015-09-07 · in Proposal for a Go Interpreter -
…it in a web server that executes Lua with requests, take a look at the LState pool pattern[1]. [1] https://github.com/yuin/gopher-lua#the-lstate-pool-pattern
comment by Kabukks · 2015-04-26 · in A minimal blog engine written in Go, compatible with Ghost themes -
…the same opcodes and the main VM loop looks very similar: http://www.lua.org/source/5.1/lvm.c.html https://github.com/yuin/gopher-lua/blob/master/vm.go It's interesting because the Go source appears to be annotating certain patterns with…
comment by haberman · 2015-02-21 · in GopherLua: VM and Compiler for Lua in Go -
▲ 147
GopherLua: VM and Compiler for Lua in Gostory by tombenner · 2015-02-21 · 16 comments