Deutsch English Français Italiano |
<085b1065a664645eb2fc8b3d20b20c22af2cbcb6.camel@gmail.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: wij <wyniijj5@gmail.com> Newsgroups: comp.lang.c Subject: Re: What is your opinion about init_malloc? Date: Sat, 15 Mar 2025 00:31:15 +0800 Organization: A noiseless patient Spider Lines: 19 Message-ID: <085b1065a664645eb2fc8b3d20b20c22af2cbcb6.camel@gmail.com> References: <vr1e67$1fa1p$1@dont-email.me> <vr1j5o$1jg76$1@raubtier-asyl.eternal-september.org> <6255bb4153bcc571db879cf847ee3a110080c4fc.camel@gmail.com> <vr1kiu$1knn5$1@raubtier-asyl.eternal-september.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Date: Fri, 14 Mar 2025 17:31:17 +0100 (CET) Injection-Info: dont-email.me; posting-host="a499a0831bd7f6466cd8a05ed4720a40"; logging-data="1693018"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19x15RyqUlp4xFvqIvL773E" User-Agent: Evolution 3.54.3 (3.54.3-1.fc41) Cancel-Lock: sha1:b/m26Jb+si38wKh0ARPGCINhbfo= In-Reply-To: <vr1kiu$1knn5$1@raubtier-asyl.eternal-september.org> Bytes: 1771 On Fri, 2025-03-14 at 17:13 +0100, Bonita Montero wrote: > Am 14.03.2025 um 16:56 schrieb wij: >=20 > > If it tries to exceed 'High level assembly', it could be ridiculous. > > Same as C++, if it tries to be 'not-C'. >=20 > 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=20 may be necessary in 'my assembly model'. > but it doesn't make the language better. >=20 init_malloc(..) would be a library function?