| Deutsch English Français Italiano |
|
<vr1l70$1l5jb$1@dont-email.me> 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: Thiago Adams <thiago.adams@gmail.com> Newsgroups: comp.lang.c Subject: Re: What is your opinion about init_malloc? Date: Fri, 14 Mar 2025 13:24:00 -0300 Organization: A noiseless patient Spider Lines: 24 Message-ID: <vr1l70$1l5jb$1@dont-email.me> 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; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 14 Mar 2025 17:24:01 +0100 (CET) Injection-Info: dont-email.me; posting-host="6e7cb05722eb03f15f05f89a469e6ccf"; logging-data="1742443"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19w2hld+hMBN0TTsXFXD2ZZvPYnvOoY79M=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:hQTB4VkAled9FFDmrPbwFjeD4Gw= Content-Language: en-GB In-Reply-To: <vr1kiu$1knn5$1@raubtier-asyl.eternal-september.org> Bytes: 1946 Em 3/14/2025 1:13 PM, Bonita Montero escreveu: > 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, > but it doesn't make the language better. > The problem of C++ new is that it requires the customisation then it results in many many variants and customisation points. https://en.cppreference.com/w/cpp/memory/new/operator_new https://en.cppreference.com/w/cpp/coroutine/generator/promise_type/operator_new https://en.cppreference.com/w/cpp/memory/new/set_new_handler https://en.cppreference.com/w/cpp/memory/new/get_new_handler I don't want that..