flecs-lua
Lua script host for flecs (by flecs-hub)
luaffi
Standalone FFI library for calling C functions from lua. Compatible with the luajit FFI interface. (by jmckaskill)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flecs-lua
Posts with mentions or reviews of flecs-lua.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-02.
-
ECS engine in C++ in Lua
I think this is my best bet if only the maintainer stabilises the library. The last commit says this is still WIP and has some issues https://github.com/flecs-hub/flecs-lua/commit/895d3cb670827236a2740ccd6d4d477b899590df. Shame because the library looks great. The Lua API is pretty much perfect and I'd love to use it. But the repository has had 2 commits in the last 2 years, and the 3.2.x bindings are not stable yet.
-
What are some of the most common bad practices with ECS?
Flecs, an ECS written in C99 with C++11 bindings has a Lua scripting host flecs-lua which let's you write System code in Lua.
luaffi
Posts with mentions or reviews of luaffi.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-02.
-
ECS engine in C++ in Lua
But there are better abstractions available. Look at either luajit's ffi or the standalone luaffi to see how you can define structures from lua that write directly to memory instead of using tables.
What are some alternatives?
When comparing flecs-lua and luaffi you can also consider the following projects:
entt - Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more
awesome-love2d - A curated list of amazingly awesome LÖVE libraries, resources and shiny things.
xLua - xLua is a lua programming solution for C# ( Unity, .Net, Mono) , it supports android, ios, windows, linux, osx, etc.
flecs - A fast entity component system (ECS) for C & C++
lede - Lean's LEDE source
vis - A vi-like editor based on Plan 9's structural regular expressions
xmake - 🔥 A cross-platform build utility based on Lua
nata - Entity management for Lua.