TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Why are entity component systems not used widely in web development?

1 pointsby oooooofalmost 7 years ago
Entity component systems https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Entity–component–system are used in game development, and claim great benefit in simplifying codebases.<p>A cursory glance around doesn’t show any web front end libraries based on ECS.<p>Why have they not had more impact in web front end application development?<p>Ref: https:&#x2F;&#x2F;www.gamasutra.com&#x2F;blogs&#x2F;TobiasStein&#x2F;20171122&#x2F;310172&#x2F;The_EntityComponentSystem__An_awesome_gamedesign_pattern_in_C_Part_1.php

1 comment

Eridrusalmost 7 years ago
Most web front-end code exists a single page at a time, and encompasses a pretty narrow range of functionality, so you can get away with fewer abstractions&#x2F;patterns&#x2F;etc since your whole program is pretty simple.<p>I think Redux (often used with React&#x2F;React Native) looks a bit like ECS, at least to the extent that they both use an event&#x2F;action-oriented approach.<p>But web front ends are just far simpler than games, and so the main priority is how to make them look like the designers want and how to crank them out quickly, rather than how to manage a lot of complexity.