LPGhatguy / thunderdome

Arena type inspired by generational-arena
Apache License 2.0
197 stars 15 forks source link

Clarify background / motivation for this crate #45

Open caspark opened 5 months ago

caspark commented 5 months ago

The readme says:

Thunderdome is a gladitorial generational arena inspired by generational-arena, slotmap, and slab.

and I really appreciate its comparison table with those alternatives too; my overall takeaway is that slotmap and thunderdome are approximately equivalent except for that thunderdome doesn't support serde (and has a much cooler name).

Yet it seems like slotmap was created earlier, and so presumably there was some reasonably strong motivation for creating thunderdome as an alternative.

Was it just that slotmap didn't support some things, and it has since closed the gap (as #15 suggests)? Or is thunderdome today using less unsafe, have better performance, compile faster, ...?

Knowing what motivated thunderdome (and whether that motivation would still apply today) would help in choosing between thunderdome and slotmap.