[Development] Views in APIs
marc.mutz at kdab.com
Wed May 13 11:54:04 CEST 2020
On 2020-05-13 09:56, Philippe wrote:
> On Tue, 12 May 2020 18:59:35 +0200
> Marc Mutz via Development <development at qt-project.org> wrote:
>> QString-everywhere cements the naïve CoW world of the
>> 1990s for yet another decade.
> CoW naive? Really not, this method is at the heart of many strategic
> * virtual memory used by most of operating system
> * some databases
> * principle behind any immutable data structure
The keyword being 'immutable'. QString is not immutable.
I'm all for going more immer-style, but you can't possibly claim that's
what's happening in Qt 6. Immer is modern, the crude CoW implementations
used in Qt (incl. 6) _are_ naïve.
More information about the Development