C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Make all data pointers intercompatible

From: Sebastian Wittmeier <wittmeier_at_[hidden]>
Date: Mon, 27 Jan 2025 15:11:49 +0100
There are Harvard architectures - separate program + data - e.g. Nvidia GPUs supporting modern C++.   Also it has different memory spaces with its own pointers, e.g. shared memory (up to 228 KB), constant memory (64 KB pages), global memory (beyond 32 bits)       -----Ursprüngliche Nachricht----- Von:Frederick Virchanza Gotham via Std-Proposals <std-proposals_at_[hidden]> Gesendet:Mo 27.01.2025 14:54 Betreff:Re: [std-proposals] Make all data pointers intercompatible An:std-proposals_at_[hidden]; CC:Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>; On Mon, Jan 27, 2025 at 12:56 PM Bo Persson via Std-Proposals <std-proposals_at_[hidden]> wrote: > > The system was too old for a C++ compiler, but it did have C, and those > languages are defined to support such architectures. So the odd > languages rules are not there by chance, but because the language > designers knew that they were needed. If I had been on the C committee back then, I would have supported the support of these strange computers. But today in 2025, C++ is being held back by the notion of computers that have gone extinct. Now we should just make all data pointers equal (or perhaps even go a step further and make function pointers equal to data pointers too -- because I don't think there's a C++23 compiler alive nowadays that has different size data and function pointers). -- Std-Proposals mailing list Std-Proposals_at_[hidden] https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals

Received on 2025-01-27 14:15:22