Article View: alt.comp.lang.rust
Article #395Re: “The end of software secrecy is almost upon
From: Chris M. Thomasson
Date: Mon, 26 Oct 2026 22:42
Date: Mon, 26 Oct 2026 22:42
30 lines
3675 bytes
3675 bytes
On 10/26/2026 3:20 PM, Lawrence D’Oliveiro wrote: > On Mon, 26 Oct 2026 14:53:48 -0700, Chris M. Thomasson wrote: > >> On 10/26/2026 2:45 PM, Lawrence D’Oliveiro wrote: >>> >>> On Mon, 26 Oct 2026 13:33:37 -0700, Chris M. Thomasson wrote: >>> >>>> Say a lib that has foo_create... Well, the damn called must >>>> remember to call foo_destroy, right? >>> >>> Are you backpedalling from your previous idea that the caller must >>> allocate the memory for the library to use? >> >> Where did I say must? > > You said “Managing the memory is the caller’s job in C anyway.” You > didn’t say “could be the caller’s job” as in “the caller could have a > choice”, you said “*is* the caller’s job”. No choice. I.e. the caller > *must* manage memory. But, the caller must take care in C. Say a lib that allows the caller to create their own memory from the requirements reaped from the lib. Okay. Fine. Also, take a lib that is more "encapsulated" than say a pure foo_create/destroy. The caller must remember to call foo_destroy, right? Using io_uring is a fun one. The caller created the memory, iirc from mmap, so the kernel can use it. The Kernel punts off the lifetime management of the users ring buffers. The C must manage things regardless. say malloc and free?
Technical Details
Message-ID:
<11bol0q$11j3t$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> <11bm2kg$2d3a$1@dont-email.me> <11bm7mf$3thd$1@dont-email.me> <11bmdee$5qol$1@dont-email.me> <11bmi37$78mo$2@dont-email.me> <11bod6h$ugib$3@dont-email.me> <11bodf4$unqs$1@dont-email.me> <11bohlf$10aqu$1@dont-email.me> <11boi5d$107r1$5@dont-email.me> <11bojn7$10aqu$10@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 15:42:31 -0700 Organization: A noiseless patient Spider Lines: 30 Message-ID: <11bol0q$11j3t$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> <11bm2kg$2d3a$1@dont-email.me> <11bm7mf$3thd$1@dont-email.me> <11bmdee$5qol$1@dont-email.me> <11bmi37$78mo$2@dont-email.me> <11bod6h$ugib$3@dont-email.me> <11bodf4$unqs$1@dont-email.me> <11bohlf$10aqu$1@dont-email.me> <11boi5d$107r1$5@dont-email.me> <11bojn7$10aqu$10@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 22:42:34 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1100925"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hNW4yUbp1nWs38IhsP4wLHld+INGHHJ0="; posting-host="49da529de1e605d0c2cf1bd5b7b86f4a" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:dV4cHFkylveIyOeNadXdb5z7ADw= sha256:WuxgyawTJYZ07xEnVNhzQOHFmrCFIAukyNuwKHeP700= sha1:VeQO0853vs2JLVyhEEEo8YdNEeg= sha256:Ywr8F0+iQf//C376/hYUsANKN80kJdwRroOV9IEIoaQ= Content-Language: en-US In-Reply-To: <11bojn7$10aqu$10@dont-email.me>