I’m more talking about theory than practical.
I’ve not developed anything in C/C++, so I don’t know practical uses for a double pointer, aside from multidimensional arrays, or arrays of pointers
My point was that, conceptually, pointers to pointers is how most complex data structures work. Even if the C representation of said code doesn’t have a int**
somewhere
The distinction is meaningless in the land of Opcode’s and memory addresses
For example, a struct is just an imaginary “overlay” on top of a contiguous section of memory
Say you have a struct
struct Thing {
int a;
int b;
Thing* child;
}
Thing foo {}
You could easily get a reference to foo->child->b
by doing pointer arithmetic
*((*((*foo) + size(int)*2)) +size(int))
(I’ve not used C much so I’ve probably got the syntax wrong)
Mostly because at the lowest level of computing (machine code and CPU instructions), pointers are the only method (that I know of) of any kind of indirection.
At the lowest level, there are 2 types of references:
Every higher level language feature for memory management (references, objects, safe pointers, garbage collection, etc) is just an abstraction over raw pointers
Pointers themselves are really just abstractions over raw integers, whose sole purpose is to index into RAM
With that in mind, pointers to pointers are a natural consequence of any kind of nested object hierarchy (linked lists, trees, objects with references to other objects, etc)
The only other kind of indirection would be self-modifying machine code (like a Wheeler Jump). But the computing world at large has nixed that idea for a multitude of reasons
“I’m sorry Dolores, I must not tell lies”
As a software dev, i like having 3. Gives me space to see
Or having multiple vscode windows and a browser
I also move windows around using the keyboard (win + left / right
), and the task switcher (alt + tab
)
I’m enough of an audiophile that I have some really nice speakers and a Schiit DAC and amp
But I’m not audiophile enough to care about different encodings.
At some point, I just wanna listen to the darn music
(I switched to Tidal in August. Much better audio quality)
Unless Valve has said otherwise, I doubt SteamOS is going to be released for desktop. SteamOS is basically just Arch + kde plasma but with tweaks targeting the SteamDeck hardware
Did someone actually find a backdoor in Recall, or is this just the usual “M$ is evil” posting?
(Either way, fuck Recall Security Exploit Centrap)
c/outOfTheLoop
Did he break up with someone recently?
My New Year’s Resolution is to never make a resolution
I use a drip machine, btw
The kernel does stuff like
The rest of the OS provides the actual software that users interact with, like
I wonder if this can damage the USB socket or even the motherboard in the phone, or just the cable itself
The composition is incredible. I wonder how this was taken, or if it’s one of those hyper realistic drawings
It doesn’t look AI generated
Edit: the reflection of the rope holding the swing doesn’t match. The reflection is quite straight and clean compared to the reflection of the wood supports. Odd
Fire alarm
That’s why i want every mosquito to burn a thousand deaths. They absolutely feast on me
Preventing the spread of disease is just a happy side effect
Can we never joke about sensitive topics?
Isn’t humor like, our primary coping mechanism for dealing with dark topics?