You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In rustc_arena crate within rustc tree, there are three types DroplessArena, SyncTypedArena, and SyncDroplessArena that's not in this crate. Is it possible/feasible to provide them in this crate?
The text was updated successfully, but these errors were encountered:
thomcc
changed the title
Feature comparison between this and the libarena crate.
Feature comparison between this and the rustc_arena crate.
Jan 9, 2023
(libarena got renamed to rustc_arena some time ago, so I've updated the title and question).
I believe these crates have some shared history, but am unaware of the details. If I find out it would be reasonable to document somewhere.
In practice, a major difference in practice is that rustc_arena is not on crates.io. It can only be used in rustc (or projects that use #![feature(rustc_private)] or whatever it's called). Additionally, it's full of unstable features so even if it were on crates.io, it could not be used by many users. This crate has neither of those downsides.
On the other hand this crate currently has a few missing features compared to rustc_arena and is a bit less optimized, although I'm hoping to fix both of these issues when I find time.
In
rustc_arena
crate within rustc tree, there are three typesDroplessArena
,SyncTypedArena
, andSyncDroplessArena
that's not in this crate. Is it possible/feasible to provide them in this crate?The text was updated successfully, but these errors were encountered: