Hacker GitHub

← All repos

skypjack/entt

View on GitHub ↗ ★ 13,240 C++

Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more

43 mentions on Hacker News by 26 people: 12 stories, 31 comments · first 2018-09-24 · latest 2026-05-10

Mentions per year 43 mentions · busiest year 2021 (12)
20082026
  1. ▲ 1
    EnTT
    story by tosh · 2026-05-10 · 0 comments
  2. …of with the same safety guarantees, so it's unclear what rust is bringing in that case (e.g. https://github.com/skypjack/entt/blob/master/src/entt/entity... )
    comment by mwkaufma · 2025-10-03 · in Arenas in Rust
  3. …monster struct into a column oriented entity using Entity Component System. Example framework: https://github.com/skypjack/entt?tab=readme-ov-file It has benefits besides memory/cache optimizations. It organizes logic in a much more…
    comment by bhawks · 2025-07-31 · in Writing memory efficient C structs
  4. …i did to learn the metaprogramming features. its an ECS library using the same model as entt ( https://github.com/skypjack/entt ). In 200 lines or so it does the equivalent of a few thousand lines of template heavy Cpp while compiling…
  5. ▲ 2
    Crash Course: entity component system
    story by simonpure · 2023-07-20 · 0 comments
  6. …polished and maintained, I wasn't aware of it. So far, I've used an alternative ECS called entt: https://github.com/skypjack/entt https://www.libhunt.com/compare-flecs-vs-entt?ref=compare
  7. https://github.com/skypjack/entt is a fantastic alternative; also, one of the most beautiful codebases/elegant designs I 've come across.
  8. …. 2. Create a simple, custom, graphics-only (no collisions / physics) game engine using Entt ( https://github.com/skypjack/entt ) and Panda3d. The engine would rely mostly on simple inputs, like mouse clicks, and 3d graphics. 3. Configure…
  9. …but your customers are predominantly children, and their businesses are the worlds they create [1] https://github.com/skypjack/entt [2] https://minecraft.fandom.com/wiki/Bedrock_Edition_level_form...
    comment by glouwbug · 2022-08-08
  10. …but the concept is simple and a neat example of a useful specialty data structure. Take a look at https://github.com/skypjack/entt
  11. ▲ 47
    EnTT: Gaming meets modern C++ 3.9 (ECS library and much more)
    story by tridentboy · 2021-12-21 · 26 comments
  12. …"views", which are ways to efficiently access components, since its first public commit in 2017: https://github.com/skypjack/entt/commit/b0b8ee7aea3d9f5cfe6f... ). Whether any of that is relevant to the patents validity, I have no idea.…
    comment by dkersten · 2021-09-08 · in Unity patents ECS
  13. …lets you optimise the patterns that are most important to you (based on profiling, hopefully). [1] https://github.com/skypjack/entt [2] Sort one component to be in the same order as another component, so that they can be efficiently…
  14. …data was preallocated at initialization time. I can't speak further on the specifics though. [1] https://github.com/skypjack/entt/blob/master/docs/md/entity.... [2] https://docs.rs/specs/0.17.0/specs/struct.VecStorage.html
  15. Check this out. https://github.com/skypjack/entt EnTT is a header-only, tiny and easy to use library for game programming and much more written in modern C++. Among others, it's used in Minecraft by Mojang, the ArcGIS Runtime SDKs by Esri…
    comment by nodivbyzero · 2021-08-16 · in Object-Oriented Entity-Component-System Design
  16. …and much more written in modern C++. Among others, it's used in Minecraft by Mojang, ... https://github.com/skypjack/entt
    comment by xaedes · 2021-07-16 · in Component Graph System (2017)
  17. …library, but I'd be interesting in folding in ECS as a general design pattern in my programming. https://github.com/skypjack/entt
    comment by geokon · 2021-07-07 · in Open 3D Engine
  18. …libraries, there are some solutions to static polymorphism. For example, EnTT comes with this: https://github.com/skypjack/entt/wiki/Crash-Course:-poly
    comment by dkersten · 2021-07-01 · in Immutability Changes Everything (2016)
  19. …virtual classes/static polymorphism then, since they don't exist according to you? https://github.com/skypjack/entt Component orientend programming is a subset of OOP, as for why that is, I provided a book, feel free to educate yourself.…
  20. …in-memory DB with the full state. But unlike a traditional persistent db it's really fast. [0] https://github.com/skypjack/entt
  21. …There are libraries enabling ECS for you if you are not looking for an engine like Unity: C++: https://github.com/skypjack/entt (Non-Java Minecraft uses this) Java: https://github.com/libgdx/ashley Rust: https://github.com/bevyengine/bevy…
    comment by johnnycerberus · 2021-02-27 · in Why isn't Godot an ECS-based game engine?
  22. …list includes some powerful yet not excessively large libraries from which one can learn including: https://github.com/skypjack/entt https://github.com/taocpp/PEGTL https://github.com/fmtlib/fmt
  23. …new niceness that I don't feel pushed to jump ship until the alternatives check more boxes. [1] https://github.com/skypjack/entt [2] https://github.com/arximboldi/immer [3] https://www.youtube.com/watch?v=bMSrNBcir4Y&t=1757s
  24. https://github.com/skypjack/entt Amazing codebase by an amazing developer and maintainer.
    comment by junon · 2020-10-29 · in Ask HN: Good C++ code bases to read?
  25. The kind of stuff you are able to do with entt ( https://github.com/skypjack/entt#code-example ) like `entities.view<Position, Sprite>.each([&](auto &pos, auto &vel) { ... });` is super awesome IMO. And then it compiles down to just…
    comment by nikki93 · 2020-09-06 · in C++20 has been approved
  26. …then with godbolt.org you can learn which constructs produce what code. I'm using entt for the ECS: https://github.com/skypjack/entt you can see how it encourages the use of POD structs and non-OO code for the most part. It feels good to…
    comment by nikki93 · 2020-09-06 · in C++20 has been approved
  27. …type (static lookup -- no vtables / RTTI). Function overload sets are also useful. Libraries like https://github.com/skypjack/entt really help here too--for an 'ontology of alive objects' its felt like using an entity-component-system has…
    comment by nikki93 · 2020-09-02 · in The problem with C
  28. ▲ 2
    EnTT v3.5.0 is out: Gaming meets modern C++
    story by skypjack · 2020-08-31 · 0 comments
  29. …it'd avoid these issues, but I have no idea how useful object pooling is in practice in JS... [1] https://github.com/skypjack/entt/wiki/Crash-Course:-entity-c... [2] https://github.com/immerjs/immer
    comment by avolcano · 2020-05-09 · in EnTT: Gaming meets Modern C++
  30. ▲ 169
    EnTT: Gaming meets Modern C++
    story by skypjack · 2020-05-09 · 37 comments
  31. ▲ 1
    EnTT v3.3.0 is out: Gaming meets modern C++
    story by skypjack · 2020-02-22 · 0 comments
  32. ▲ 1
    EnTT v3.1 is out, an Entity-Component-System in modern C++ and much more
    story by skypjack · 2019-08-29 · 0 comments
  33. ▲ 2
    EnTT v3 is out – Gaming meets modern C++, again
    story by skypjack · 2019-05-16 · 0 comments
  34. …terms of parallelizing jobs in the future, much like Unity's ECS or the specs-rs package. [2] [1] https://github.com/skypjack/entt [2] https://github.com/slide-rs/specs
    comment by danbolt · 2019-02-28 · in Ask HN: What Are You Learning Right Now?
  35. ▲ 1
    EnTT C++ ECS finally works across boundaries
    story by skypjack · 2019-02-27 · 0 comments
  36. …system for C++. It written in a modern, very generic style, but I don't find it to be obscure. https://github.com/skypjack/entt
  37. Yeah, I'm the author of EnTT C++ ECS ( https://github.com/skypjack/entt ) and I can guarantee you there are no holes there. :-) The next post (part 2 of the series) will be more or less all about this point. I hope to publish it as soon as…
  38. …the idea is difficult actually. What I've found difficult when I decided to implement my own tool ( https://github.com/skypjack/entt ) was that technical details on how to design something that was both easy to use and with good…
  39. ▲ 3
    EnTT: bye bye persistent views, welcome groups
    story by skypjack · 2019-02-09 · 1 comment
  40. https://github.com/skypjack/entt Its a great Entity-Component-System library, but better than the library itself is how active and approachable the author is.
  41. I think the C++ library https://github.com/skypjack/entt gets pretty close to the ideal for a purely compile time implementation. It is implemented with modern C++ template meta-programming - which is to say it is basically a DSL encoded…
    comment by SolarNet · 2018-10-19 · in OOP Is Dead, Long Live OOP
  42. ▲ 2
    Crash Course: EnTT Reflection System
    story by skypjack · 2018-10-12 · 0 comments
  43. ▲ 4
    Entt: a fast and reliable entity-component system
    story by danbolt · 2018-09-24 · 0 comments