Deutsch English Français Italiano |
<vfm8j1$j2qq$3@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Vir Campestris <vir.campestris@invalid.invalid> Newsgroups: comp.arch Subject: Re: portable malloc Date: Sun, 27 Oct 2024 20:42:09 +0000 Organization: A noiseless patient Spider Lines: 17 Message-ID: <vfm8j1$j2qq$3@dont-email.me> References: <2024Oct6.150415@mips.complang.tuwien.ac.at> <memo.20241006163428.19028W@jgd.cix.co.uk> <2024Oct7.093314@mips.complang.tuwien.ac.at> <7c8e5c75ce0f1e7c95ec3ae4bdbc9249@www.novabbs.org> <2024Oct8.092821@mips.complang.tuwien.ac.at> <ve5ek3$2jamt$1@dont-email.me> <be506ccef76d682d13205c69c761a086@www.novabbs.org> <ve6oiq$2pag3$1@dont-email.me> <ve6tv7$2q6d5$1@dont-email.me> <86y12uy8ku.fsf@linuxsc.com> <jwv34kx5afd.fsf-monnier+comp.arch@gnu.org> <venpin$241bk$2@dont-email.me> <veu2uv$3cluq$1@dont-email.me> <veudt1$3ep62$1@dont-email.me> <vf3qgi$ijah$1@dont-email.me> <vf6ndm$14l9a$5@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 27 Oct 2024 21:42:10 +0100 (CET) Injection-Info: dont-email.me; posting-host="645b25f4bd2f24a6905e99cdd76e3253"; logging-data="625498"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UukmctB+1yTS0+Ms0Jv3F4EJHk5dv6rI=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:D9UhsvjJT59W/NoTV0p75RjW6aE= Content-Language: en-GB In-Reply-To: <vf6ndm$14l9a$5@dont-email.me> Bytes: 2212 On 22/10/2024 00:17, Lawrence D'Oliveiro wrote: > On Sun, 20 Oct 2024 21:51:30 +0100, Vir Campestris wrote: > >> Because some implementations will require >> communication with the OS there cannot be a truly portable malloc. > > There can if you have a portable OS API. The only serious candidate for > that is POSIX. One of the other groups I'm following just for the hell of it is comp.os.cpm/ I'm pretty sure you don't get POSIX in your 64kb (max). "cannot be a _truly_ portable" is what I meant. Portable to most machine is easy - just write for Windows. POSIX will give you a larger subset - but still a subset. Andy