Question for web-dev twitter: I've been reading up on Entity Component Systems here and there, and while I can appreciate the development patterns they encourage I can't help but feel like there's a lot of overhead in the indirections they use? 1/3
Also, I know that ECS is supposed to help performance in native apps due to ease of threading and better memory locality of components. But if your platform is JavaScript (or similar) uh... doesn't seem like there's any perf wins to be had. 2/3
Which is a shame, because I like the structure of ECS. It just doesn't intuitively feel like a good pattern for the web. (Unless you're heavily WASM based, I guess?) Anyone have experience in that direction that could confirm/deny? 3/3
And yes, I'm aware that https://mixedreality.mozilla.org/hello-webxr/  is built with Mozilla's ECS library ECSY (which is probably abandoned now due to layoffs). It's a good proof of concept and part of why I'm interested in the topic.
You can follow @Tojiro.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled:

By continuing to use the site, you are consenting to the use of cookies as explained in our Cookie Policy to improve your experience.