TE
TechEcho
StartseiteTop 24hNeuesteBesteFragenZeigenJobs
GitHubTwitter
Startseite

TechEcho

Eine mit Next.js erstellte Technologie-Nachrichtenplattform, die globale Technologienachrichten und Diskussionen bietet.

GitHubTwitter

Startseite

StartseiteNeuesteBesteFragenZeigenJobs

Ressourcen

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. Alle Rechte vorbehalten.

Show HN: Evolved.lua – An Evolved Entity Component System for Lua

55 Punktevon blackmatvor 4 Tagen
I&#x27;m excited to announce the first release of my library, evolved.lua!<p>evolved.lua is a fast and flexible ECS (Entity-Component-System) library for Lua. It is designed to be simple and easy to use, while providing all the features needed to create complex systems with blazing performance.<p>Enjoy!

7 comments

cmovqvor 4 Tagen
&gt; Components are stored in contiguous arrays in a SoA (Structure of Arrays) manner, which allows for fast iteration and processing<p>Does this actually matter in Lua? Aren’t all array elements going to be pointers to heap allocated objects anyways?<p>The point of SoA is your likely to be accessed values are adjacent in memory, but if you’re chasing a pointer to get that value then you’re not getting anything out of it.
评论 #44056559 未加载
评论 #44053600 未加载
euvinvor 4 Tagen
Cool to see a new ECS project! I&#x27;ve been learning and using JECS (<a href="https:&#x2F;&#x2F;github.com&#x2F;Ukendio&#x2F;jecs">https:&#x2F;&#x2F;github.com&#x2F;Ukendio&#x2F;jecs</a>) for a project of mine, and some of the core ideas (like Chunks) felt familiar. This project definitely seems to have a more in-depth documentation though and a <i>lot</i> more features especially by having its own scheduler stuff. Would love to try it out on a new project someday
评论 #44056636 未加载
sali0vor 3 Tagen
Will give this a try. I was using claude code to make a small game in love2d, and really hoped for a nice lua ecs lib to help manage the game objects (its my first time playing around with game dev).
je42vor 4 Tagen
One alternatives I like is <a href="https:&#x2F;&#x2F;bakpakin.github.io&#x2F;tiny-ecs&#x2F;doc&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bakpakin.github.io&#x2F;tiny-ecs&#x2F;doc&#x2F;</a>
评论 #44056669 未加载
binary132vor 3 Tagen
It always makes me happy to see people publishing Lua libraries in $YEAR. I am also working on Lua stuff. Thank you for posting!
评论 #44070785 未加载
dogprezvor 4 Tagen
What makes it an &quot;envolved&quot; ecs?
评论 #44056751 未加载
poly2itvor 4 Tagen
Any examples of projects using this?
评论 #44056704 未加载