Deutsch English Français Italiano |
<vbcgve$cd1g$3@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Thomas Koenig <tkoenig@netcologne.de> Newsgroups: comp.arch Subject: Re: Computer architects leaving Intel... Date: Thu, 5 Sep 2024 14:58:54 -0000 (UTC) Organization: A noiseless patient Spider Lines: 18 Message-ID: <vbcgve$cd1g$3@dont-email.me> References: <2024Aug30.161204@mips.complang.tuwien.ac.at> <vb0kh2$12ukk$1@dont-email.me> <vb3smg$1ta6s$1@dont-email.me> <vb4q5o$12ukk$3@dont-email.me> <vb6a16$38aj5$1@dont-email.me> <vb7evj$12ukk$4@dont-email.me> <vb8587$3gq7e$1@dont-email.me> <vb91e7$3o797$1@dont-email.me> <vb9eeh$3q993$1@dont-email.me> <vb9l7k$3r2c6$2@dont-email.me> <vba26l$3te44$1@dont-email.me> <vbag2s$3vhih$1@dont-email.me> <vbbnf9$8j04$1@dont-email.me> <vbbsl4$9hdg$1@dont-email.me> <vbcbob$bd22$3@dont-email.me> <VViCO.60793$L1Tb.44990@fx11.iad> Injection-Date: Thu, 05 Sep 2024 16:58:54 +0200 (CEST) Injection-Info: dont-email.me; posting-host="49b1fef9f6d2c4ff10ee0b8b71cf8125"; logging-data="406576"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18FNrEPZkp9UnluqJcAkhWtIWlBYYd9zyk=" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:BC65S9RMHindO0ITZqtJdDJ0xFE= Bytes: 2094 Scott Lurndal <scott@slp53.sl.home> schrieb: > David Brown <david.brown@hesbynett.no> writes: >>On 05/09/2024 11:12, Terje Mathisen wrote: > >>> That last paragraph enumerates pretty much all the uses I have for >>> integer-type variables, with (like Mitch) a few apis that use (-1) as an >>> error signal that has to be handled with special code. >>> >> >>You don't have loop counters, array indices, or integer arithmetic? > > We do. There is no issue using unsigned loop counters, I find counting down from n to 0 using unsigned variables unintuitive. Or do you always count up and then calculate what you actually use? Induction variable optimization should take care of that, but it would be more complicated to use.