| 
  | 
Message-ID: <f7e03364-0c5f-f524-3054-ca26c563e64c@mirbsd.de>
Date: Sat, 1 Nov 2025 21:58:16 +0100 (CET)
From: Thorsten Glaser <tg@...bsd.de>
To: musl@...ts.openwall.com
cc: Laurent Bercot <ska-dietlibc@...rnet.org>, libc-alpha@...rceware.org, 
    Arthur O'Dwyer <arthur.j.odwyer@...il.com>, 
    Jonathan Wakely <jwakely@...hat.com>
Subject: Re: Re: realloci(): A realloc() variant that works in-place
On Sat, 1 Nov 2025, Thiago Macieira wrote:
>Everything one can do in C++ one can do in C, even if it 
>takes writing a bit more code.
But in C, you don’t have the problem that data types are
unmovable by realloc. You can just use offsets instead of
pointers.
unconvinced,
//mirabilos
-- 
Solange man keine schmutzigen Tricks macht, und ich meine *wirklich*
schmutzige Tricks, wie bei einer doppelt verketteten Liste beide
Pointer XORen und in nur einem Word speichern, funktioniert Boehm ganz
hervorragend.		-- Andreas Bogk über boehm-gc in d.a.s.r
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.