Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: transpiling to low level C Date: Sat, 28 Dec 2024 09:20:23 -0800 Organization: A noiseless patient Spider Lines: 29 Message-ID: <86a5cfd8rs.fsf@linuxsc.com> References: <86ikrdg6yq.fsf@linuxsc.com> <20241222002032.0000104c@yahoo.com> <20241222021851.0000059f@yahoo.com> <20241222030451.00005565@yahoo.com> <86o713dvo7.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sat, 28 Dec 2024 18:20:24 +0100 (CET) Injection-Info: dont-email.me; posting-host="faac763533e698875b92b0b3d2af3e2e"; logging-data="465100"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/nJPlGeGdidpxqQvtbs7jLdglq1aAXyRE=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:XvEzkClbgh/7G14c/WFvoKXSppM= sha1:EcElpHStWj1LyUvf6+6bfYiHK4I= Xref: csiph.com comp.lang.c:389820 BGB writes: > On 12/23/2024 1:43 AM, David Brown wrote: > >> On 23/12/2024 03:41, Waldek Hebisch wrote: >> >>> Tim Rentsch wrote: >>> >>>> The comments I made here, in two responses to postings of yours, >>>> were not statements of opinion but statements of fact. >>> >>> They are opinions _about facts_, or if you prefer, opinion >>> about truth value of some statements. >> >> You can program in C without the "normal" conditional statements or >> expressions. You can make an array of two (or more) function >> pointers and select between them using your controlling expression, >> and that should be sufficient for conditionals. (There may be other >> methods too.) >> >> So as far as I can see, Tim gave statements of fact, not opinion. > > Jumping back in: > That one can do this seems obvious enough; > Downside, as I see it, is that there is no current or likely > processor hardware where this is likely to be performance > competitive with the more traditional if-goto mechanism [...] Irrelevant to the issue being discussed.