Article View: comp.lang.c++
Article #435Re: “The end of software secrecy is almost upon
From: Chris M. Thomasson
Date: Mon, 26 Oct 2026 20:23
Date: Mon, 26 Oct 2026 20:23
21 lines
3255 bytes
3255 bytes
On 10/25/2026 8:43 PM, Lawrence D’Oliveiro wrote: > On Sun, 25 Oct 2026 19:28:00 -0700, Chris M. Thomasson wrote: > >> A lib that never allocates behind your back is what you >> want in embedded, kernel, and arena code ... > > Even kernels want a common memory-management architecture, so addon > modules don’t have to reinvent memory management on their own. > > Think of something like allocating low-priority cache memory, for > stuff that can be dumped if necessary: that needs to be managed in the > core of the kernel, so that if apps need regular memory for things > they want to keep in memory, the kernel can free up cache as necessary > to make more memory available. > > Stop trying to rationalize away the whole point of dynamic memory > allocation. If you need dynamic memory fine. If a lib allocates things for itself, fine. Just make sure to know how to clean it up. Also, the caller can use dynamic memory if it wants to. RAII is pretty nice here.
Technical Details
Message-ID:
<11boct2$ugib$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11amvre$15far$1@dont-email.me> <11b5tdb$2cs5l$1@dont-email.me> <11b64cp$end$1@panix2.panix.com> <11b64hj$2faos$1@dont-email.me> <11b679m$6dl$1@panix2.panix.com> <11b6vc4$2npqv$1@dont-email.me> <11b87jg$37b7t$1@dont-email.me> <11b884b$p2o9$1@dont-email.me> <11b94he$3hdo3$2@dont-email.me> <11b9qd6$pq4i$1@dont-email.me> <11b9r5r$3nppf$1@dont-email.me> <11baekk$3v7n1$1@dont-email.me> <11bbl4f$du80$2@dont-email.me> <11bbo58$ek3q$1@dont-email.me> <11bbqns$fe31$1@dont-email.me> <11bbron$fmi2$1@dont-email.me> <11bc09b$gsv1$1@dont-email.me> <11bd6ed$ttau$1@dont-email.me> <11bejnh$1eab6$1@dont-email.me> <11berc9$1ge43$1@dont-email.me> <11bg0fa$1unku$1@dont-email.me> <11bgc00$23hkg$1@dont-email.me> <11bghmk$25qd0$1@dont-email.me> <11bgnsc$27pn2$2@dont-email.me> <11bgsgo$299in$4@dont-email.me> <11bh8ue$2coe1$1@dont-email.me> <11bj493$31thn$1@dont-email.me> <11bjbl3$340l8$6@dont-email.me> <11bmdri$5umm$1@dont-email.me> <11bmi89$78mo$3@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> Newsgroups: comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers Subject: Re: “The end of software secrecy is almost upon Date: Mon, 26 Oct 2026 13:23:59 -0700 Organization: A noiseless patient Spider Lines: 21 Message-ID: <11boct2$ugib$1@dont-email.me> References: <11amvre$15far$1@dont-email.me> <11b5tdb$2cs5l$1@dont-email.me> <11b64cp$end$1@panix2.panix.com> <11b64hj$2faos$1@dont-email.me> <11b679m$6dl$1@panix2.panix.com> <11b6vc4$2npqv$1@dont-email.me> <11b87jg$37b7t$1@dont-email.me> <11b884b$p2o9$1@dont-email.me> <11b94he$3hdo3$2@dont-email.me> <11b9qd6$pq4i$1@dont-email.me> <11b9r5r$3nppf$1@dont-email.me> <11baekk$3v7n1$1@dont-email.me> <11bbl4f$du80$2@dont-email.me> <11bbo58$ek3q$1@dont-email.me> <11bbqns$fe31$1@dont-email.me> <11bbron$fmi2$1@dont-email.me> <11bc09b$gsv1$1@dont-email.me> <11bd6ed$ttau$1@dont-email.me> <11bejnh$1eab6$1@dont-email.me> <11berc9$1ge43$1@dont-email.me> <11bg0fa$1unku$1@dont-email.me> <11bgc00$23hkg$1@dont-email.me> <11bghmk$25qd0$1@dont-email.me> <11bgnsc$27pn2$2@dont-email.me> <11bgsgo$299in$4@dont-email.me> <11bh8ue$2coe1$1@dont-email.me> <11bj493$31thn$1@dont-email.me> <11bjbl3$340l8$6@dont-email.me> <11bmdri$5umm$1@dont-email.me> <11bmi89$78mo$3@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 26 Oct 2026 20:24:03 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1000011"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Mw8AK6js8LuTJGt2uP1DnwYZ3MlrOeR0="; posting-host="49da529de1e605d0c2cf1bd5b7b86f4a" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:fcjCiViypkf9tWXf2pmvQQ6YYpU= sha256:AFhJfAM7mqRUpw7s/3tUIzufNqJCRjF7nkKP2Yy/4Bk= sha1:zy6JanpIEv+c9Yj7LInxnSxyTVc= sha256:PxyC57oon5IxYZ+9dGBLR3rn1yNVo5H6g3cz6jxHzOg= In-Reply-To: <11bmi89$78mo$3@dont-email.me> Content-Language: en-US