Pluggable storages

Open
SanderMertens avatar @SanderMertens
C C
Created about 3 years ago
Updated 22 days ago
8 comments
6,883

Describe the problem you are trying to solve. There are scenarios in which using a table-based storage has usability and/or performance issues:

  • when stable pointers are required
  • when a component would introduce lots of fragmentation
  • when it is expensive to move
  • when there are a lot of components to move

Describe the solution you'd like An interface that makes it possible to use custom storage plugins which can be configured per component.

Comments (4)

xentripetal avatar
@xentripetal 11 months ago

Its been a couple years since this has seen activity, wanted to check if this was still under consideration?

SanderMertens avatar
@SanderMertens 11 months ago

Yep definitely! I'm currently working on v4, which removes a lot of blockers for this work :)

xentripetal avatar
@xentripetal 11 months ago

Great to hear, thank you!

I'm not very experienced with C but I will take a look and see if I can help contribute to this. Is there a design doc for how you see this being implemented?

SanderMertens avatar
@SanderMertens 11 months ago

There isn't, but you can see the design in broad strokes here: https://github.com/SanderMertens/flecs/tree/storage_refactor

Bounty Available

Quick Select

Custom Amount

$
Fund this bounty to attract developers and speed up resolution. Minimum amount is $0.50.

Fund Requests

No fund requests yet. Be the first to request funding.

Please sign in to request funds for this bounty.

Paid Out

No payments have been made yet. Start working on this bounty to receive your payout

Information

Open
Current status
#680
Issue number