Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Be careful! UGLY strikes 9 out of 10!


comp / comp.os.linux.misc / (Almost) Rock-n-Roll - "The Bunny Hop" (1953)

SubjectAuthor
* (Almost) Rock-n-Roll - "The Bunny Hop" (1953)186282@ud0s4.net
`* Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)Allodoxaphobia
 +- Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)John Ames
 `* Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)186282@ud0s4.net
  `* Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)The Natural Philosopher
   `* Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)186282@ud0s4.net
    `* Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)The Natural Philosopher
     `- Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)Richard Kettlewell

1
Subject: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Thu, 9 Jan 2025 07:48 UTC
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 09 Jan 2025 07:48:20 +0000
Newsgroups: comp.os.linux.misc
X-Mozilla-News-Host: news://news.west.earthlink.net:119
From: 186283@ud0s4.net (186282@ud0s4.net)
Subject: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
Organization: wokiesux
Date: Thu, 9 Jan 2025 02:48:19 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <KJScnT-S8K3a4uL6nZ2dnZfqnPudnZ2d@earthlink.com>
Lines: 15
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-UWJz17siww18Jz663HeUyEHaHBfjtEvedk/Nhrhq2zJnp+Zjf4Kkxi5xX2t9HZWpMHMVjCe1sVHAFeS!pdpvNUfwFJq+Z0VFwe7KRijKfwjx/H/M20ag8YfYXc1l0XOc/hbJBwev+r8McBX5GTL1keCoTg9L!VAvFTINtIIsK/gYHZ2bI
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

https://www.youtube.com/watch?v=EmC1KyxhEJU

Sax and trumpet main, not guitars.

However it does have that proto-rock phasing
and feel. Beef it up to guitars and it could
have been a later 50s rock-n-roll tune.

Where'd I hear of this ... seems the 'famous
bunny museum' in Cal burnt down in the fires.
Some old video showed a 45 of this song.

--
033-33

Subject: Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
From: Allodoxaphobia
Newsgroups: comp.os.linux.misc
Date: Thu, 9 Jan 2025 16:02 UTC
References: 1
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: trepidation@example.net (Allodoxaphobia)
Newsgroups: comp.os.linux.misc
Subject: Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
Date: 9 Jan 2025 16:02:15 GMT
Lines: 9
Message-ID: <slrnvnvso6.fl4.trepidation@vps.jonz.net>
References: <KJScnT-S8K3a4uL6nZ2dnZfqnPudnZ2d@earthlink.com>
X-Trace: individual.net EbEU/QZEVwCuIRf6gXuWcQlt2r4YHuen0b+YfmE4N9u8vtC+HR
Cancel-Lock: sha1:eYOo/fBdwrgbWI1Ec5rTIcKQMB4= sha256:vd60SdgTfNI9SpLVDRUvhYU0Y+aIhgc2R/6Ixwy0cag=
User-Agent: slrn/1.0.3 (FreeBSD)
View all headers

On Thu, 9 Jan 2025 02:48:19 -0500, 186282@ud0s4.net wrote:
> https://www.youtube.com/watch%v=EmC1KyxhEJU
>
> Sax and trumpet main, not guitars.

And, this has what, please, to do with colm?

The trash overflows in this ng.
Time to rename it -- and for me to drop it.

Subject: Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
From: John Ames
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Thu, 9 Jan 2025 16:46 UTC
References: 1 2
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: commodorejohn@gmail.com (John Ames)
Newsgroups: comp.os.linux.misc
Subject: Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
Date: Thu, 9 Jan 2025 08:46:16 -0800
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <20250109084616.00002762@gmail.com>
References: <KJScnT-S8K3a4uL6nZ2dnZfqnPudnZ2d@earthlink.com>
<slrnvnvso6.fl4.trepidation@vps.jonz.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 09 Jan 2025 17:46:19 +0100 (CET)
Injection-Info: dont-email.me; posting-host="e8f8b12991a3a4197a33b6397be76171";
logging-data="3612459"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+BVVuHsd8GPwblDRrSguuB5GZ/mzVU6Y4="
Cancel-Lock: sha1:X9FB/clc/S0tvb2fYOdwMTH0aic=
X-Newsreader: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32)
View all headers

On 9 Jan 2025 16:02:15 GMT
Allodoxaphobia <trepidation@example.net> wrote:

> On Thu, 9 Jan 2025 02:48:19 -0500, 186282@ud0s4.net wrote:
> > https://www.youtube.com/watch%v=EmC1KyxhEJU
> >
> > Sax and trumpet main, not guitars.
>
> And, this has what, please, to do with colm?
>
> The trash overflows in this ng.
> Time to rename it -- and for me to drop it.

collection.old.libertarian.misfits

Subject: Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Fri, 10 Jan 2025 00:33 UTC
References: 1 2
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!border-4.nntp.ord.giganews.com!nntp.giganews.com!local-4.nntp.ord.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 10 Jan 2025 00:33:50 +0000
Subject: Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
Newsgroups: comp.os.linux.misc
References: <KJScnT-S8K3a4uL6nZ2dnZfqnPudnZ2d@earthlink.com>
<slrnvnvso6.fl4.trepidation@vps.jonz.net>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Thu, 9 Jan 2025 19:33:50 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <slrnvnvso6.fl4.trepidation@vps.jonz.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <ztWcnU7j3cxz9x36nZ2dnZfqnPqdnZ2d@earthlink.com>
Lines: 48
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-RIQOem/I8vHZcpoNDL3QSJ3f+ncoaRGvdE/YbKMwgVHjIS+Fko78etQZWHb/ZTVGw2zyvZfreVj88Td!RmsUMBjqEOb1mfncd1cWMfpFa23H1oqae0yxaX+/53nvp2z0K4llUR8KQvQCt9T6ZAHa3ldvXEwq!PfYMNTdc7SYeGwsRGtmh
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 1/9/25 11:02 AM, Allodoxaphobia wrote:
> On Thu, 9 Jan 2025 02:48:19 -0500, 186282@ud0s4.net wrote:
>> https://www.youtube.com/watch%v=EmC1KyxhEJU
>>
>> Sax and trumpet main, not guitars.
>
> And, this has what, please, to do with colm?

Actually it was mis-posted ...

But it's still fun.

Set it as yer KDE startup tune :-)

Hmmm ... wonder if it's where Hugh Hefner got
his 'bunny' idea ?

> The trash overflows in this ng.
> Time to rename it -- and for me to drop it.

I've complained from time to time, tried to start
lin-centric threads ... only just SO much good.
People are people and 'linux' is a kinda narrow
subject - so other stuff quickly creeps in.

The tech stuff - usually in the first half dozen
replies in the thread.

Maybe you should get a Chat or OpenAI feed and
order it to stick to the hard tech and only the
hard tech ? Of course soon even those will rebel
and drift and wanna talk about the Kardashians.

On the plus, most all people in COLM are gonna
have 3-digit IQs - unlike too many other groups :-)

If you want tech ... I've been trying to find out
if with modern 'flat address space' CPUs there's
any speed advantage in setting functions and
data blocks at specific addresses - what in the
old days would have been 'page boundaries' or
such. In short does an i7 or ARM and/or popular
mem-management chips have less work to do setting
up reading/writing at some memory addresses ?
Maybe a critical app could run ten percent faster
if, even 'wasting' memory, you put some stuff in
kind of exact places. Older chips with banked
memory and even mag HDDs, the answer was Yes.

Subject: Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
From: The Natural Philosop
Newsgroups: comp.os.linux.misc
Organization: A little, after lunch
Date: Fri, 10 Jan 2025 07:11 UTC
References: 1 2 3
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
Date: Fri, 10 Jan 2025 07:11:33 +0000
Organization: A little, after lunch
Lines: 25
Message-ID: <vlqh76$3sp5m$1@dont-email.me>
References: <KJScnT-S8K3a4uL6nZ2dnZfqnPudnZ2d@earthlink.com>
<slrnvnvso6.fl4.trepidation@vps.jonz.net>
<ztWcnU7j3cxz9x36nZ2dnZfqnPqdnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 10 Jan 2025 08:11:36 +0100 (CET)
Injection-Info: dont-email.me; posting-host="69a8bc4b6b1b544a55cc011a9662fe80";
logging-data="4089014"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+hukOQs7wKWNvvyo/+hqFr4tKi3dpDEN4="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:FCbCtTb+v2cAjXHfdhSKmDMiUag=
Content-Language: en-GB
In-Reply-To: <ztWcnU7j3cxz9x36nZ2dnZfqnPqdnZ2d@earthlink.com>
View all headers

On 10/01/2025 00:33, 186282@ud0s4.net wrote:
> I've been trying to find out
>   if with modern 'flat address space' CPUs there's
>   any speed advantage in setting functions and
>   data blocks at specific addresses - what in the
>   old days would have been 'page boundaries' or
>   such. In short does an i7 or ARM and/or popular
>   mem-management chips have less work to do setting
>   up reading/writing at some memory addresses ?
>   Maybe a critical app could run ten percent faster
>   if, even 'wasting' memory, you put some stuff in
>   kind of exact places. Older chips with banked
>   memory and even mag HDDs, the answer was Yes.

Mm.

I don't think so. About the only thing that is proximity sensitive is
cacheing. That is you want to try and ensure that you are operating out
of cache, but the algorithms for what part of the instructions are
cached and what are not is beyond my ability to identify, let alone code
in...

--
The New Left are the people they warned you about.

Subject: Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Fri, 10 Jan 2025 07:58 UTC
References: 1 2 3 4
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!border-4.nntp.ord.giganews.com!border-1.nntp.ord.giganews.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 10 Jan 2025 07:58:47 +0000
Subject: Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
Newsgroups: comp.os.linux.misc
References: <KJScnT-S8K3a4uL6nZ2dnZfqnPudnZ2d@earthlink.com>
<slrnvnvso6.fl4.trepidation@vps.jonz.net>
<ztWcnU7j3cxz9x36nZ2dnZfqnPqdnZ2d@earthlink.com>
<vlqh76$3sp5m$1@dont-email.me>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Fri, 10 Jan 2025 02:58:46 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <vlqh76$3sp5m$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <s8mdnU91-9aqTh36nZ2dnZfqnPudnZ2d@earthlink.com>
Lines: 38
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-OKkoBbbtsA8VcEWFiU/W257vpPNdrA0mhaCegaSwHpnV07nBd1IKbAwqcEQ/JIL84/8PEdLB4zfqDmU!fhA3ashy2qRndfsFj639mXdE9/5PsLih4YDO4fmTq2SkxT4C9o1TV7avtnNNqD11ym7hu6x88SXU!NavGnMZwzPmMlBBZTrlx
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 1/10/25 2:11 AM, The Natural Philosopher wrote:
> On 10/01/2025 00:33, 186282@ud0s4.net wrote:
>> I've been trying to find out
>>    if with modern 'flat address space' CPUs there's
>>    any speed advantage in setting functions and
>>    data blocks at specific addresses - what in the
>>    old days would have been 'page boundaries' or
>>    such. In short does an i7 or ARM and/or popular
>>    mem-management chips have less work to do setting
>>    up reading/writing at some memory addresses ?
>>    Maybe a critical app could run ten percent faster
>>    if, even 'wasting' memory, you put some stuff in
>>    kind of exact places. Older chips with banked
>>    memory and even mag HDDs, the answer was Yes.
>
> Mm.
>
> I don't think so. About the only thing that is proximity sensitive is
> cacheing. That is you want to try and ensure that you are operating out
> of cache, but the algorithms for what part of the instructions are
> cached and what are not is beyond my ability to identify, let alone code
> in...

I did a lot of searching but never found a
good answer. IF you can do stuff entirely
within CPU cache then it WILL be faster.
Alas not MUCH stuff will be adaptable to
that strategy - esp with today's bloatware.

We MAY be talking maker/sub-brand specifics ...
intel i3/i5/i7/i9 may all be different. Different
gens different yet. ARMs too.

Seems that CPUs and MMUs can do certain register
ops faster/easier than others - fewer calx and
switching settings. Therein my quest. If you want
some code to run AS FAST AS POSSIBLE it's worth
thinking about.

Subject: Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
From: The Natural Philosop
Newsgroups: comp.os.linux.misc
Organization: A little, after lunch
Date: Fri, 10 Jan 2025 08:08 UTC
References: 1 2 3 4 5
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
Date: Fri, 10 Jan 2025 08:08:27 +0000
Organization: A little, after lunch
Lines: 71
Message-ID: <vlqkhr$3sp5m$7@dont-email.me>
References: <KJScnT-S8K3a4uL6nZ2dnZfqnPudnZ2d@earthlink.com>
<slrnvnvso6.fl4.trepidation@vps.jonz.net>
<ztWcnU7j3cxz9x36nZ2dnZfqnPqdnZ2d@earthlink.com>
<vlqh76$3sp5m$1@dont-email.me>
<s8mdnU91-9aqTh36nZ2dnZfqnPudnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 10 Jan 2025 09:08:28 +0100 (CET)
Injection-Info: dont-email.me; posting-host="69a8bc4b6b1b544a55cc011a9662fe80";
logging-data="4089014"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/CvugW0Zo4MV1IQwjMcddTKqeMExhTY3I="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:RFTYa+S7NMdjrA9rcOkFUNuswGA=
In-Reply-To: <s8mdnU91-9aqTh36nZ2dnZfqnPudnZ2d@earthlink.com>
Content-Language: en-GB
View all headers

On 10/01/2025 07:58, 186282@ud0s4.net wrote:
> On 1/10/25 2:11 AM, The Natural Philosopher wrote:
>> On 10/01/2025 00:33, 186282@ud0s4.net wrote:
>>> I've been trying to find out
>>>    if with modern 'flat address space' CPUs there's
>>>    any speed advantage in setting functions and
>>>    data blocks at specific addresses - what in the
>>>    old days would have been 'page boundaries' or
>>>    such. In short does an i7 or ARM and/or popular
>>>    mem-management chips have less work to do setting
>>>    up reading/writing at some memory addresses ?
>>>    Maybe a critical app could run ten percent faster
>>>    if, even 'wasting' memory, you put some stuff in
>>>    kind of exact places. Older chips with banked
>>>    memory and even mag HDDs, the answer was Yes.
>>
>> Mm.
>>
>> I don't think so. About the only thing that is proximity sensitive is
>> cacheing. That is you want to try and ensure that you are operating
>> out of cache, but the algorithms for what part of the instructions are
>> cached and what are not is beyond my ability to identify, let alone
>> code in...
>
>   I did a lot of searching but never found a
>   good answer. IF you can do stuff entirely
>   within CPU cache then it WILL be faster.
>   Alas not MUCH stuff will be adaptable to
>   that strategy - esp with today's bloatware.
>
RK is probably the best person to understand that, but in fact a modern
compiler will optimise for a specific processor architecture normally.
It is quite instructive to see how 'real world' programs speed up on a
chipset that simply has more cache.

>   We MAY be talking maker/sub-brand specifics ...
>   intel i3/i5/i7/i9 may all be different. Different
>   gens different yet. ARMs too.
>
Of course. And indeed many architectures are optimised for e.g. C programs.
Imagine if you chipset detects a 'ca;; subroutine' code nugget and then
proceeds to cache the new stack pointer's stack before doing anything.
All your 'local' variables are now in cache.

>   Seems that CPUs and MMUs can do certain register
>   ops faster/easier than others - fewer calx and
>   switching settings. Therein my quest. If you want
>   some code to run AS FAST AS POSSIBLE it's worth
>   thinking about.
And compilers do.
And chipsets do,.

So we don't have to. I used to do *86 assembler, but what todays C
compilers spit out is better than any hand crafted assembler is.

My mathematical friend only uses assembler to access some weird features
of a specific intel architecture to do with vector arithmetic. He writes
C library functions in assembler to access them.

Because the compilers don't acknowledge their existence - yet.

--
"I guess a rattlesnake ain't risponsible fer bein' a rattlesnake, but ah
puts mah heel on um jess the same if'n I catches him around mah chillun".

Subject: Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
From: Richard Kettlewell
Newsgroups: comp.os.linux.misc
Organization: terraraq NNTP server
Date: Fri, 10 Jan 2025 09:10 UTC
References: 1 2 3 4 5 6
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: (Almost) Rock-n-Roll - "The Bunny Hop" (1953)
Date: Fri, 10 Jan 2025 09:10:16 +0000
Organization: terraraq NNTP server
Message-ID: <wwvy0zj11c7.fsf@LkoBDZeT.terraraq.uk>
References: <KJScnT-S8K3a4uL6nZ2dnZfqnPudnZ2d@earthlink.com>
<slrnvnvso6.fl4.trepidation@vps.jonz.net>
<ztWcnU7j3cxz9x36nZ2dnZfqnPqdnZ2d@earthlink.com>
<vlqh76$3sp5m$1@dont-email.me>
<s8mdnU91-9aqTh36nZ2dnZfqnPudnZ2d@earthlink.com>
<vlqkhr$3sp5m$7@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="90389"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:UQJJ6xWarHjKSbp2Esdxqpru0u0=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
View all headers

The Natural Philosopher <tnp@invalid.invalid> writes:
> On 10/01/2025 07:58, 186282@ud0s4.net wrote:
>> On 1/10/25 2:11 AM, The Natural Philosopher wrote:
>>> I don't think so. About the only thing that is proximity sensitive
>>> is cacheing. That is you want to try and ensure that you are
>>> operating out of cache, but the algorithms for what part of the
>>> instructions are cached and what are not is beyond my ability to
>>> identify, let alone code in...

The easy win is alignment, which allows more efficient use of memory
resources. e.g. if a function is 50 bytes long and your cache line size
is 64 bytes, you can ensure your function fits into a single cache line
by aligning its start address to a multiple of 64. It doesn’t
necessarily make that particular function faster, but it leaves more
room in the cache for everything else - so more cache hits in the
program as a whole. The same idea applies at other levels of the memory
hierarchy, e.g. the system page size (usually, but not always,
4Kbyte). Compilers and linkers already exploit all this quite
effectively.

The harder strategy is to put group data (or code) according to how it’s
used. If a function is going to operate on several different values then
having them adjacent in memory maximises the chances they’ll be read (or
cached) in a single operation. Main memory access can be very slow
(hundreds of times the latency of individual instructions) so getting
this right can have substantial benefits. Easy enough for a little
struct but more challenging for a complex data structure.

> So we don't have to. I used to do *86 assembler, but what todays C
> compilers spit out is better than any hand crafted assembler is.
>
> My mathematical friend only uses assembler to access some weird
> features of a specific intel architecture to do with vector
> arithmetic. He writes C library functions in assembler to access them.
>
> Because the compilers don't acknowledge their existence - yet.

I’ve had good results using GCC’s native support for vector operations,
though better on x86 than Arm so far, but my needs aren’t complex.

The context where I’ve had to use a lot of assembler is achieving
constant-time operation. Compilers love conditional branches...
(Actually vector instructions are better for this, but not all of my
code is vectorizable.)

--
https://www.greenend.org.uk/rjk/

1

rocksolid light 0.9.8
clearnet tor