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
20082026
-
▲ 1
EnTTstory by tosh · 2026-05-10 · 0 comments
-
…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 -
…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 -
…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…
comment by vblanco · 2023-09-03 · in Focus: A simple and fast text editor written in Jai -
▲ 2
Crash Course: entity component systemstory by simonpure · 2023-07-20 · 0 comments
-
…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
comment by indigoabstract · 2023-04-04 · in Flecs – A fast entity component system for C and C++ -
https://github.com/skypjack/entt is a fantastic alternative; also, one of the most beautiful codebases/elegant designs I 've come across.
comment by markpapadakis · 2023-04-04 · in Flecs – A fast entity component system for C and C++ -
…. 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…
comment by gnerkus · 2023-01-02 · in Ask HN: What is your new year's resolution? -
…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 -
…but the concept is simple and a neat example of a useful specialty data structure. Take a look at https://github.com/skypjack/entt
comment by kaylynb · 2022-07-22 · in Ask HN: What are some cool but obscure data structures you know about? -
▲ 47
EnTT: Gaming meets modern C++ 3.9 (ECS library and much more)story by tridentboy · 2021-12-21 · 26 comments
-
…"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 -
…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…
comment by dkersten · 2021-08-16 · in Object-Oriented Entity-Component-System Design -
…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
comment by danbolt · 2021-08-16 · in Object-Oriented Entity-Component-System Design -
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 -
…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) -
…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 -
…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) -
…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.…
comment by pjmlp · 2021-06-22 · in Column – High-performance, columnar, in-memory store with bitmap indexing in Go -
…in-memory DB with the full state. But unlike a traditional persistent db it's really fast. [0] https://github.com/skypjack/entt
comment by pepemysurprised · 2021-06-21 · in Column – High-performance, columnar, in-memory store with bitmap indexing in Go -
…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? -
…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
comment by Sheeplator · 2021-02-07 · in Ask HN: C++17/C++20 example projects with good style? -
…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
comment by dkersten · 2020-12-05 · in Std::visit is everything wrong with modern C++ (2017) -
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? -
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 -
…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 -
…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 -
▲ 2
EnTT v3.5.0 is out: Gaming meets modern C++story by skypjack · 2020-08-31 · 0 comments
-
…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++ -
▲ 169
EnTT: Gaming meets Modern C++story by skypjack · 2020-05-09 · 37 comments
-
▲ 1
EnTT v3.3.0 is out: Gaming meets modern C++story by skypjack · 2020-02-22 · 0 comments
-
▲ 1
EnTT v3.1 is out, an Entity-Component-System in modern C++ and much morestory by skypjack · 2019-08-29 · 0 comments
-
▲ 2
EnTT v3 is out – Gaming meets modern C++, againstory by skypjack · 2019-05-16 · 0 comments
-
…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? -
▲ 1
EnTT C++ ECS finally works across boundariesstory by skypjack · 2019-02-27 · 0 comments
-
…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
comment by gmueckl · 2019-02-23 · in Halley: Lightweight Game Engine Written in C++14 -
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…
comment by skypjack · 2019-02-15 · in Entity–component–system (ECS) back and forth -
…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…
comment by skypjack · 2019-02-15 · in Entity–component–system (ECS) back and forth -
▲ 3
EnTT: bye bye persistent views, welcome groupsstory by skypjack · 2019-02-09 · 1 comment
-
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.
comment by dkersten · 2018-11-08 · in Reddit AMA on Photopea, a free alternative to Photoshop used by 1.5M people -
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 -
▲ 2
Crash Course: EnTT Reflection Systemstory by skypjack · 2018-10-12 · 0 comments
-
▲ 4
Entt: a fast and reliable entity-component systemstory by danbolt · 2018-09-24 · 0 comments