Shared libraries
Shared libraries
Posted Nov 26, 2025 16:25 UTC (Wed) by tialaramex (subscriber, #21167)In reply to: Shared libraries by intelfx
Parent article: APT Rust requirement raises questions
C++ doesn't provide very good container types, but it does provide a reasonably good growable array type, with the expected amortized constant time growth, the basic reservation feature - and QList isn't actually better. So the fact QList was provided anyway suggests the same mindset would apply in Rust for a library in that mould.
But on the other hand, a library which didn't insist on offering its own version of things you already have might actually reduce the redundancy and the extra marshalling overhead from the duplication, so that might actually be a net win in size terms.
