Article View: comp.lang.c++
Article #1208Re: “The end of software secrecy is almost upon
From: Tristan Wibberley
Date: Sun, 06 Dec 2026 06:23
Date: Sun, 06 Dec 2026 06:23
58 lines
4683 bytes
4683 bytes
On 06/12/2026 02:57, Lawrence D’Oliveiro wrote: > On Sun, 6 Dec 2026 02:52:24 +0000, Tristan Wibberley wrote: > >> On 06/12/2026 01:17, Lawrence D’Oliveiro wrote: >>> >>> Bit clearer now, why it’s doing what it’s doing? >> >> The code in your post (referenced) has such big problems for wider >> tractability that the comment is a drop in the ocean. > > Perhaps seeing more of the program might make things clearer. > > But then, given your reaction to what has been revealed so far, it > might not. I take that as an attempt to indicate that I overlooked something. I did, the use of the standard "sorted", which I haven't used for so many years and only bothered to use superficially even back then. But that recognition only helps enough to distrust the code even more and be more certain that it needs what I already described. If I had to guess, it is part of an optimising interpreter or optimising rewriter/translator, the part being that for a commutative, associative operator in a mathematical language. Having read deeper I think the "raise" statement needs a comment referring to the safety of raising an exception there about what local variables refer to in the raising stack frame and the ancestors that the frame then refers to vis-a-vis what partial handling must be done as the exception flies by, see next paragraph. My recollection of python exceptions is that frame-local objects that hold resources can cause problems with python exceptions (for programs with large data, even mere data can be problematic resources). The exception handler can run with all those local variables being kept around. The explanation of that can actually be pretty difficult. Some standardised handling rules are needed but the problem is awkward enough I'd prefer to avoid python for anything big. I suppose there are some useful rules one can use for each frame but then you need to apply a lot of thought for some situations because of the awkward implicitness of where a frame is made and the fact of callbacks. Lots of wrapping of libraries would end up being needed. Python is not a good language in that respect, IIRC. -- Tristan Wibberley The message body is Copyright (C) 2026 Tristan Wibberley except citations and quotations noted. All Rights Reserved except that you may, of course, cite it academically giving credit to me, distribute it verbatim as part of a usenet system or its archives, and use it to promote my greatness and general superiority without misrepresentation of my opinions other than my opinion of my greatness and general superiority which you _may_ misrepresent. You definitely MAY NOT train any production AI system with it but you may train experimental AI that will only be used for evaluation of the AI methods it implements.
Technical Details
Message-ID:
<11f2v10$3pelt$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11amvre$15far$1@dont-email.me> <11b6v90$2nine$3@dont-email.me> <11b87t8$379mv$1@dont-email.me> <11b8b2k$p44i$1@dont-email.me> <11b8bga$6hk$1@panix2.panix.com> <11b8hkq$3bdtq$1@dont-email.me> <11b8ien$3b48o$4@dont-email.me> <aengell8ipmbe2n363ajesde6j1086e0ve@4ax.com> <11c9nkt$1d76i$2@dont-email.me> <11f2a6g$3ca6h$4@dont-email.me> <11f2d30$3h58e$2@dont-email.me> <11f2il8$3jel2$1@dont-email.me> <11f2iua$3k026$5@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> 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: Sun, 6 Dec 2026 06:23:26 +0000 Organization: A noiseless patient Spider Lines: 58 Message-ID: <11f2v10$3pelt$1@dont-email.me> References: <11amvre$15far$1@dont-email.me> <11b6v90$2nine$3@dont-email.me> <11b87t8$379mv$1@dont-email.me> <11b8b2k$p44i$1@dont-email.me> <11b8bga$6hk$1@panix2.panix.com> <11b8hkq$3bdtq$1@dont-email.me> <11b8ien$3b48o$4@dont-email.me> <aengell8ipmbe2n363ajesde6j1086e0ve@4ax.com> <11c9nkt$1d76i$2@dont-email.me> <11f2a6g$3ca6h$4@dont-email.me> <11f2d30$3h58e$2@dont-email.me> <11f2il8$3jel2$1@dont-email.me> <11f2iua$3k026$5@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 06 Dec 2026 06:23:29 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3979965"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/BZzrBr1ywM/PePTQPmfH9I/4R0sk1Nq1CivU1AzGmig=="; posting-host="dcb879cf630529286ffe07c4eb0b98ca" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:xhqHZAuuW+2/rgtfhCG46KcdLSE= sha256:Rp7FZNxVgYg3vrQx6g5mvkKTrsVIXLlHPI28ZdQEcjU= sha1:UDlG2oyhMsVrYJwJOWB0FDsv9WA= sha256:AT2A1OxtF5l27xmoLDmYOnwKv1aACcDcLc51AyCpxOg= In-Reply-To: <11f2iua$3k026$5@dont-email.me> Content-Language: en-GB