Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <vhu0ft$1ukc7$2@dont-email.me>
Deutsch   English   Français   Italiano  
<vhu0ft$1ukc7$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bart <bc@freeuk.com>
Newsgroups: comp.lang.c
Subject: Re: else ladders practice
Date: Sun, 24 Nov 2024 01:45:34 +0000
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <vhu0ft$1ukc7$2@dont-email.me>
References: <3deb64c5b0ee344acd9fbaea1002baf7302c1e8f@i2pn2.org>
 <vgpi5h$6s5t$1@paganini.bofh.team> <vgtsli$1690f$1@dont-email.me>
 <vhgr1v$2ovnd$1@paganini.bofh.team> <vhic66$1thk0$1@dont-email.me>
 <vhins8$1vuvp$1@dont-email.me> <vhj7nc$2svjh$1@paganini.bofh.team>
 <vhje8l$2412p$1@dont-email.me> <WGl%O.42744$LlWc.33050@fx42.iad>
 <vhkr9e$4bje$1@dont-email.me> <vhptmn$3mlgf$1@paganini.bofh.team>
 <vhq6b4$17hkq$1@dont-email.me> <vhqm3l$3ntp7$1@paganini.bofh.team>
 <vhso61$1o2of$1@dont-email.me> <vhtrns$71ic$1@paganini.bofh.team>
 <vhtvvc$1ukc7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 24 Nov 2024 02:45:34 +0100 (CET)
Injection-Info: dont-email.me; posting-host="ce2114238f6dc927920bdb19bad491fa";
	logging-data="2052487"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/q0xZmw5tCCIzIwjI3rOHP"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:mBHsiL3guAxNxFyQuCRaixG/0A4=
Content-Language: en-GB
In-Reply-To: <vhtvvc$1ukc7$1@dont-email.me>
Bytes: 2707

On 24/11/2024 01:36, Bart wrote:
> On 24/11/2024 00:24, Waldek Hebisch wrote:
>> Bart <bc@freeuk.com> wrote:

>> And of course, there is a question why program with runtime that
>> does not matter is written in a low level language?
> 
> I mean it doesn't matter if it's half the speed. It might matter if it 
> was 40 times slower.
> 
> There's quite a gulf between even unoptimised native code and even a 
> fast dynamic language interpreter.
> 
> People seem to think that the only choices are the fastest possible C 
> code at one end, and slow CPython at the other:
> 
>    gcc/O3-tcc-----------------------------------------------------CPython
> 
> On this scale, gcc/O3 code and tcc code are practically the same!

(I wasn't able to post results earlier because CPython hadn't finished. 
But for a JPEG decoder test on an 85Mpixel image, all using the same 
algorithm:

   gcc-O3    2.2 seconds
   mm6-opt   3.3 seconds  (My older compiler with the register optim.)
   mm7       5.7 seconds  (My unoptimising new one)
   cc        6.0 seconds  (Unoptimising)
   tcc       8.1 seconds
   PyPy     43   seconds  (Uses JIT to optimise hot loops to native code)
   CPython 386   seconds)