Sujet : Re: What is your opinion about init_malloc?
De : wyniijj5 (at) *nospam* gmail.com (wij)
Groupes : comp.lang.cDate : 14. Mar 2025, 17:31:15
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <085b1065a664645eb2fc8b3d20b20c22af2cbcb6.camel@gmail.com>
References : 1 2 3 4
User-Agent : Evolution 3.54.3 (3.54.3-1.fc41)
On Fri, 2025-03-14 at 17:13 +0100, Bonita Montero wrote:
Am 14.03.2025 um 16:56 schrieb wij:
If it tries to exceed 'High level assembly', it could be ridiculous.
Same as C++, if it tries to be 'not-C'.
Thiago wants to mimic construction with new,
I've been wondering how C would mimic ctor/dtor for long long time,...
void * init_malloc(size_t size, void * src) looked reasonable, and
may be necessary in 'my assembly model'.
but it doesn't make the language better.
init_malloc(..) would be a library function?