#Pointers

2025-12-29

Welcome to Part 2 of this series, in which we will look at C language’s concept of pointers and structs. Later on in this article, we will use Panama to mimic these concepts. The goal is to call C function signatures that are often defined to accept pointers and structs....
#C #Java #JavaMemory #Panama #pointers #structs
foojay.io/today/project-panama

2025-11-21

Some years ago, I published this project on computing the #Mandelbrot set #fractal in the C #programming language using #pointers and POSIX #threads.

This project is for the JavaScript- or Python-obsessed, high-flying #IT practitioners. The goal is to introduce to the scripting language aficionados the systems programming concepts, specifically programming in a parallel and hardware-proximate manner, with a focus on mathematical computations. There is a comprehensive README, and the code is also fully commented.

github.com/amenzwa/mandelbrot

2025-10-05

Nice video for understanding #pointers in #c
Well explained 👌.

#clang #freecodecamp

2025-09-22

Tahoe support pages are also in denial of the new mouse pointers

Looks like I am not the only person who’s in denial that the time for the mickey mouse gloves are truly over. =(

Meanwhile, I do think that the new default pointer for Tahoe is better than the previous default.

#mac #macOs #mouse #pointers #tahoe #visualDesign

N-gated Hacker Newsngate
2025-08-23

👶✨ Ah, the age-old tale of coders valiantly managing with their bare hands (because clearly, malloc and free are for wimps). This riveting yarn spins a tale of complex and pointers—wait, no pointers!—meant to impress the 3 people who actually understand it. 🧠🔧
matklad.github.io/2025/08/16/r

Rachel Wil Sha Singhmoosadeerwss@spectra.video
2025-06-30
N-gated Hacker Newsngate
2025-06-23

🚀 Wow, a whole article to tell us that has an assembler and a collector! 🎩 Apparently, combining them is as thrilling as watching paint dry, but fear not—our hero is here to walk us through the riveting dance of and write barriers. 📚✨ Who knew could be this exciting? Oh wait, nobody. 😴
mazzo.li/posts/go-asm-pointers

Felix Palmen :freebsd: :c64:zirias@bsd.cafe
2025-06-23

Ah, the joys of #generics in #C. I really love C, but of course it does have some "defects", one of them being the need to use #void #pointers for everything generic, which then leads to such silly bugs no compiler can ever catch ....

github.com/Zirias/poser/commit

2025-06-12

@rl_dane

To react on subject

I never abbreviate functions; I want to read them all so that when I read back the programming code in a month a year or 10 years it still makes sense to me without reading my remarks

#Programming #abbreviations #functions #pointers

2025-06-10

C++OnSea 2025 SESSION ANNOUNCEMENT: Smart Pointers, Dumb Mistakes by Khushboo Verma

cpponsea.uk/2025/session/smart

Register now at cpponsea.uk/tickets/

#cplusplus #cpp #Pointers #stl

2025-05-14

C++OnSea 2025 SESSION ANNOUNCEMENT: Smart Pointers, Dumb Mistakes by Khushboo Verma

cpponsea.uk/2025/session/smart

Register now at cpponsea.uk/tickets/

#cplusplus #cpp #Pointers #stl

Felix Palmen :freebsd: :c64:zirias@bsd.cafe
2025-04-08

I would claim that I'm *very* experienced with #programming in #C. But still, C gets annoyingly weird when it comes to #pointers *to* #arrays.

Does the following code look sober to you? 🤔 (My compiler doesn't complain)

Especially interested in the highlighted line, but also the block above trying to expand the array ...

Context: I started work on a generic/configurable rate-limiter to add to #swad.

Some C code trying to deal with a pointer to an array ...
Rafael Pérez ❄️rperezrosario
2025-04-07

Code-Maze author Konstantinos Polychronopoulos writes a good overview of memory pointers in C#, including the caveats, and their limited but still important use cases (mostly having to do with optimizing large array data manipulation and access, and interacting with unmanaged code e.g., C, C++, and others.)

"How to Use Pointers in C#"

code-maze.com/csharp-how-to-us

N-gated Hacker Newsngate
2025-03-09

🎩🧐 Behold, the riveting to 'Memory Management'—as if the first wasn't thrilling enough! Brace yourself as our intrepid author attempts to make ++ sound like it's not just C with a monocle. 🥱🔧 Spoiler: It's still about , and no one's impressed.
educatedguesswork.org/posts/me

2025-03-02
Lemmy doing Sunday right. #DogsOfMastodon #Dogs #Pointers
A black and white dog lounging on a chair
andie :oh_no_bubble:bugwhisperer@tech.lgbt
2025-02-28

TIL: C array subscript operators are handled in such a way that `letters[i]` is equivalent to `*(letters + i)` and because addition is commutative, that expression is identical to `*(i + letters)`, which means that `i[letters]` is the same as `letters[i]`.

```
#include <stdio.h>
#include <stddef.h>

int main() {
char letters[3] = "abc";
size_t i = 2;
printf("letters: %p\n", (void *)&letters);
printf("i[letters] (%p): %c\n", (void*)&(i[letters]), i[letters]);
printf("letters[i] (%p): %c\n", (void*)&(letters[i]), letters[i]);
return 0;
}
```

Which outputs:
```
letters: 0x7ffc68ec7bb9
i[letters] (0x7ffc68ec7bbb): c
letters[i] (0x7ffc68ec7bbb): c
```

Mind blown... :neofox_floof_explode:
#til #clang #pointers #programming

2025-02-20
My boy Lemmy along the Río Tomebamba. #DogsOfMastodon #Dogs #Pointers #Cuenca #Ecuador

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst