Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
skypjack
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
skypjack
8y ago
My thoughts on a possible implementation made on top of the registry, waiting to find the right way to offer them as a built-in feature. Feedback or suggestions for alternative solutions are welcome.
32.
▲
EnTT C++ ECS and double buffering: some notes on a possible implementation
(skypjack.github.io)
2 points
by
skypjack
8y ago
|
1 comments
33.
▲
by
skypjack
8y ago
Stay tuned then. I was already planning to write something about scene graphs and component-based models. Nothing forbids to write also about the rest.
34.
▲
by
skypjack
8y ago
I saw the video, but they don't go much in details on the actual implementation, so it's hard to say where, how and if things are optimized or not. Moreover, the speaker stresses also on the fact that ECS is used for code organiza
35.
▲
by
skypjack
8y ago
Good point. I put it in wrong wording probably. I didn't want to say that it's a shitty thing, just let the reader know that it's not a great improvement in terms of performance. However, I point out also how the halfway appr
36.
▲
by
skypjack
8y ago
Maybe. However it makes sense to stick with the paradigm with which you are more comfortable. There is no shame with using OOP instead of component-based models or the other way around. I think that knowing both of them can help sometimes,
37.
▲
by
skypjack
8y ago
My goal is exactly to give details on how to implement different component-based models from easier ones up to hardest ones to develop and provide links to real-world implementations. In the last part, I'd like to go in depth into one
38.
▲
by
skypjack
8y ago
I agree that component-based models should not be taken as all-about-performance solutions. I'm using ECS as the core of some software of mine but of course OOP is still present around to treat other aspects and problems that don'
39.
▲
by
skypjack
8y ago
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
40.
▲
by
skypjack
8y ago
To be honest I use composition over inheritance because it fits better with my mental patterns. I've nothing against OOP in general and I'm pretty sure we can have code with good performance also without a component-based model. T
41.
▲
by
skypjack
8y ago
I don't think 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 wa
42.
▲
by
skypjack
8y ago
Thanks for the link. I haven't read it before. It looks really interesting indeed.
43.
▲
Entity–component–system (ECS) back and forth
(skypjack.github.io)
77 points
by
skypjack
8y ago
|
61 comments
44.
▲
EnTT: bye bye persistent views, welcome groups
(github.com)
3 points
by
skypjack
8y ago
|
1 comments
45.
▲
Generic, type-safe delegates in C++ (revised)
(skypjack.github.io)
1 points
by
skypjack
8y ago
|
0 comments
46.
▲
Header-only runtime reflection system in C++
(github.com)
1 points
by
skypjack
8y ago
|
0 comments
47.
▲
Crash Course: EnTT Reflection System
(github.com)
2 points
by
skypjack
8y ago
|
0 comments