[musl] Re: realloci(): A realloc() variant that works in-place
Thorsten Glaser
tg@mirbsd.de
Sat Nov 1 20:58:16 GMT 2025
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
More information about the Libc-alpha
mailing list