lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Apr 21, 2017 at 12:24 PM, Nagaev Boris <bnagaev@gmail.com> wrote:
> language itself is convenient enough to do that (e.g. it has GC and
> rich reflection so I can for instance enumerate fields of a
> structure). Finally the whole project can be written in a single
> language.

I enjoy Go, but it's a curious fact that there are numerous projects
to provide binding to Lua (i myself have done one (luar) which
leverages Go reflection). So we have to ask, why Lua? It's not that Go
programs are slow to compile (unlike the big C++ game with Lua
situation) but it's because Lua scripts can modify running behaviour
dynamically.

> rockspecs, CMakeLists.txt etc. Other thing I really like is that the
> package system is decentralized: import paths look like
> "github.com/user/repo". There is no thing like a luarocks server for
> publishing packages: you just push your code somewhere (e.g. Github or
> your homepage) and other people can import it directly from there.

Go build system is brilliant, yes, but it's a known problem that you
are at the mercy of upstream every time you make a github reference in
a project.