Article View: comp.lang.c++
Article #330Re: “The end of software secrecy is almost upon
From: Chris M. Thomasson
Date: Sat, 24 Oct 2026 20:26
Date: Sat, 24 Oct 2026 20:26
43 lines
4018 bytes
4018 bytes
On 10/23/2026 8:33 PM, Lawrence D’Oliveiro wrote: > On Fri, 23 Oct 2026 17:01:28 -0700, Chris M. Thomasson wrote: > >> On 10/23/2026 3:42 PM, Lawrence D’Oliveiro wrote: >>> >>> On Fri, 23 Oct 2026 13:56:49 -0700, Chris M. Thomasson wrote: >>> >>>> On 10/23/2026 12:19 PM, Lawrence D’Oliveiro wrote: >>>>> >>>>> In short, the concept doesn’t scale, because it completely breaks >>>>> the concept of data abstraction. >>>>> >>>>> And it just pushes the dynamic-allocation problem elsewhere, >>>>> without making it easier. >>>> >>>> It can be made to work ... >>> >>> I’m sure it’s *possible*, but what is the *point*? >>> >>> The whole aim of levels of abstraction is to tame the multi-headed >>> beast of complexity that is computer programming. What you are >>> doing here is breaking down those levels, all in the aid of, I >>> don’t know, just to keep using gotos in your code, or something. >> >> Well, not about goto's and such. Just so a lib can inform the caller >> as to what it needs to work with. The caller sets it up, then calls >> into the init etc. Its being used in a lot of places. Take Vulkan. > > Where in Vulkan? Exposing implementation details to the caller not > only increases complexity, it also limits the implementor’s ability to > change those details later. Iiic, vkGetBufferMemoryRequirements and vkGetImageMemoryRequirements, which return a VkMemoryRequirements struct containing size, alignment, and memoryTypeBits. The caller allocates the memory with vkAllocateMemory and binds it with vkBindBufferMemory. Also, iirc io_uring: IORING_SETUP_NO_MMAP (Linux 6.5+) lets the caller supply the memory for the rings and SQE array. It must be suitably aligned (page or huge page), and the caller has to compute how big it needs to be from the entry count and flags. So it can be made to work.
Technical Details
Message-ID:
<11bj493$31thn$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>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: Sat, 24 Oct 2026 13:26:07 -0700 Organization: A noiseless patient Spider Lines: 43 Message-ID: <11bj493$31thn$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> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 24 Oct 2026 20:26:11 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3208759"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/LFD/riehduY4uCruu/LNpX7XiQetWTQc="; posting-host="c5e96a087f12799cb6d50e90d5c19783" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:bmXqg2HyzbR5dkWCUaNhdmr7Ghg= sha256:XOZfdRwJikUejrUiosNghxY+8PveQQuBPFMNHfMtAuo= sha1:RERRwdlrsHcLBHsbW80mqQT5kDg= sha256:u/3+Y/Gnikp3BMOvsUDDoeWHhMtro7qyAkjRMZDZgsE= In-Reply-To: <11bh8ue$2coe1$1@dont-email.me> Content-Language: en-US