Timeline for In C#, is there any performance reason to implement ECS?
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 3, 2023 at 0:54 | vote | accept | CommunityBot | ||
Mar 2, 2023 at 9:09 | |||||
Jan 27, 2023 at 4:07 | comment | added | user122973 | @Evorlor, I am familiar with the basic concept, better now, same structure inverted data. Turns out, I have been using these concepts all along for my projects. | |
Jan 14, 2023 at 11:53 | comment | added | Den | @Philipp no, it doesn't "come primarily from C/C++ community" - the two seminal articles are entirely language-agnostic. The benefits are memory layout and complexity management, which are useful even in such horrible languages as Python and JavaScript. | |
Jan 13, 2023 at 18:49 | comment | added | Evorlor♦ | I highly recommend learning ECS and creating a mini-game with it. It is fun to make, and will let you learn an entirely new paradigm. | |
Jan 13, 2023 at 15:01 | history | edited | DMGregory♦ | CC BY-SA 4.0 |
typo
|
Jan 13, 2023 at 14:48 | answer | added | DMGregory♦ | timeline score: 7 | |
Jan 13, 2023 at 13:40 | comment | added | Philipp | By the way: Unity has an experimental ECS system that uses C#. However, idiomatic ECS code in Unity is limited to a subset of the C# language that doesn't allow classes (only structures). | |
Jan 13, 2023 at 13:36 | comment | added | Philipp | "The formal ECS specification was developed to address gaming in a Javascript environment." - I wonder where you read that. ECS comes primarily from the C / C++ community, which benefits the most from it performance-wise because the programmer has a lot of direct control over memory management. | |
Jan 13, 2023 at 12:59 | comment | added | DMGregory♦ | "all of the classes' members must be public" — here you're talking about the component data, specifically, right? (Although for performance in C# the components would usually be structs, not classes) We have some past Q&A about implementing ECS style solutions in C# that might be of interest to you as well. | |
Jan 13, 2023 at 12:53 | history | edited | DMGregory♦ |
edited tags
|
|
Jan 13, 2023 at 11:43 | comment | added | Vaillancourt♦ | Also, "formal ECS specification"; which specifcation? | |
Jan 13, 2023 at 11:42 | comment | added | Vaillancourt♦ | You need 300 rep to create new tags, but the c# tag already exists so you can just use it. | |
Jan 13, 2023 at 7:24 | history | asked | user122973 | CC BY-SA 4.0 |