@stephenwithav it's important to understand the problem ECS solves. ECS is notable for its memory utilization efficiency, gained from cpu-cache-friendly data layout. I'd suggest you read about that before implementing your ECS. But, small spoiler, neither polymorphic objects (interfaces), nor references are the options. At this point, i'd suggest not to consider variant objects either. :)
- Is something like EnTT possible with Nim? stephenwithav
- Re: Is something like EnTT possible with Nim? stephenwithav
- Re: Is something like EnTT possible with Nim? Araq
- Re: Is something like EnTT possible with Nim? doofenstein
- Re: Is something like EnTT possible with ... stephenwithav
- Re: Is something like EnTT possible ... yglukhov
- Re: Is something like EnTT possi... stephenwithav
- Re: Is something like EnTT p... Stefan_Salewski
- Re: Is something like EnTT p... stephenwithav
- Re: Is something like EnTT p... yglukhov
- Re: Is something like EnTT p... stephenwithav
- Re: Is something like EnTT p... stephenwithav