Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a language made specifically for Entity Component programming?

I know there are languages for functional programming (LISP, Haskell, etc.) and OOP programming (Java, C#, Ruby, Python, many more), but are there any that are made around the concept of Entity Component Programming?

like image 739
benbot Avatar asked Nov 12 '22 23:11

benbot


1 Answers

I'm in no way an expert on entity component development, but after skimming through both of these articles:

  • Article on GamaSutra
  • Why use an entity system framework for game development?

It seems to me that an entity is just something that stores data, and then you do operations on that data. Assuming that I'm correct in my understanding this means that you can choose any almost any language you want. But entity component programming in and of itself does not use objects, which might make high-level languages like C#, Java and even C++ overkill. However I'd think that C or Go would be perfect languages for this type of programming because then you could define structs and methods that operate on those structs. I'd go with Go only because it's sexier.

Now I haven't answered your question, but from my research all I could find was this language which I have no idea if it is openly available or not:

ComponentJ article

I think it would be easier to just use a framework for one of the popular languages instead.

like image 65
Daniel Figueroa Avatar answered Jan 04 '23 02:01

Daniel Figueroa