Embracing Unmanaged, plans with eg. AutoHashMap?

In 0.14.0 notes, a plan has been explained to converge towards unmanaged variants of containers. Other than the ubiquitous ArrayList, ArrayHashMap has also been mentioned. IIUC the reasoning applies basically to all structures, though.

As promised, in 0.15.1, the ArrayListUnmanaged has already been renamed to ArrayList and the managed variant is now deprecated. But the situation is not so clear for some other structures, such as eg. AutoHashMap or ArrayHashMap. At least not by looking for specific structures mentioned or by looking for ā€œdeprecatedā€ in docstring … but these don’t have docstrings, so…

As I’m moving my codebase to 0.15.1, I’m trying to use the opportunity to make it more future proof and ā€œZigaliciousā€, so I’m on a look out for APIs that are deprecated or planned deprecated. Would it be safe to assume that everything is eventually going to go in that direction?

Or is there more nuance and I would be better to wait for a more clear ā€œofficialā€ plan? (I’m aware of Zig’s priorities; I don’t want to sound impatient…)

2 Likes

See

(edit: liked wrong PR first)

and

1 Like