| ▲ | kllrnohj an hour ago | |
And those games do so in a language (C++) where allocators is not a headline feature, and is barely even supported at all in the standard library. The important part is a language where the standard library isn't special, and Rust has this property, too. So in domains where things like per-frame allocators are useful, you can still have them. That capability just isn't cluttering up the more common path where that isn't useful. | ||
| ▲ | lefra 19 minutes ago | parent [-] | |
I never used it in practice, so maybe the support isn't that good, but I was under the impression that it was possible to pass custom allocators basically everywhere in the STL. See for example the definition of a vector here: | ||