Comment by efficax
11 days ago
the biggest design wart of rust (well one of them) is that support for custom allocators wasn't built into the type system from the start, with allocation osmething that returns Result
11 days ago
the biggest design wart of rust (well one of them) is that support for custom allocators wasn't built into the type system from the start, with allocation osmething that returns Result
Sure, but it's worth acknowledging that that specific wart is being fixed.
https://doc.rust-lang.org/std/alloc/trait.Allocator.html