2 ms·
arbitrary cut-paste of text, including or excluding hints, font, markup, images, "things" requires you to pass metadata about what has been cut-and-pasted. That
by ggm 6y ago
arbitrary cut-paste of text, including or excluding hints, font, markup, images, "things" requires you to pass metadata about what has been cut-and-pasted. Thats what the various things like Corba tried to do: define meta-state about things.
I probably misapplied ORM above. It wouldn't surprise me if somebody said "wrong acronym" Copy on Write (CoW) is how you avoid duplicating memory for code or data which doesn't change: when you do what unix does in fork()/exec() your initial state is: things which haven't been written are the same. So it is zero (kinda) extra cost. If you write to that bit of memory THEN it copies, so thats Copy, on Write. Then you have two, because one of them changed. So, If all electron backed apps means the 200+mb of electron crap is Copy-on-Write, its not 200 for mail, 200 for word, 200 for slack, its 200 for "all of them" until one of them writes to memory: it reduces the memory footprint.
DTRT is do the right thing.