Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a README.md file! ...haha. #1

Merged
merged 1 commit into from
May 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions test/src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Functional Entity-Component-System
This is an ECS written in C++, using modern C++ facilities.

I scrapped this one because I wanted to go lower-level and "make things faster" by not using the STL.
(...That may sound like very, very bad idea to you, but trust me, it's not - or that at least, it **wasn't!**)

...Also look at how naively it uses an `std::unordered_map`.
That kind of speed is just sad...

I knew of the "use a bitset as a sparse data structure!" optimization, but I wanted my ECS to be *fully dynamic*, as in - to allow users to be able to load ECS components at any time, which is why I didn't go for it, because... it requires you to have a fixed, statically-written, compile-time-ready `enum` of component types, and... I love the freedom of hackability!...
For the love of performance, please never use RTTI.

Enjoy looking at the code - have a good day! ":D!~