But (almost) every hardware has some integer type that has the same size as what is needed to represent the address space, because (almost) every hardware has some way of manipulating addresses at the assembly level, and (almost) every C implementation has some integer type that generates those assembly instructions.
I say "almost" because I am not absolutely certain that this is true of absolutely every architecture. Feel free to point out one that breaks these rules, if there is one.
In principle a pointer can be a tuple of two other things. Think of CHERI, segmented architectures, etc. In practice on current, modern, general purpose, non-embedded platforms' C ABIs pointers are equivalent to unsigned integers of the same size.
Arguably they're more like signed integers in the case of amd64 - due to address canonicalization. Eg, with 4-level paging we have a 48-bit address space, and valid pointers have the signed integer values `-2^48..+2^48-1`.
They can be further complicated by UAI/LAM, which relaxes the canonicalization constraints and allows bits 48..62 (the high bits, excluding the sign bit) to be anything - so we can have pointers that compare unequal but point to the same address - a potential source of exploits (There's already been Spectre-like vulnerabilities shown for LAM). Fortunately nobody really uses LAM - it needs enabling by the kernel to be used in user space to begin with.
You don't need to interpret the high bit as a sign bit. uintptr_t (unsigned) shows we can interpret pointers as unsigned integers when we can interpret them as integers at all.
You can interpret it as uintptr_t - particularly now that the latest C standards require two's complement representation of integers - but pointers on amd64 are more like signed ints.
The sign bit must match the highest bit of the virtual address (47th bit counting from 0 in the case of 4LP, or the 56th bit for 5LP). (And without LAM/UAI, all the bits in between must match too.)
Eg, with 4LP, if you cast a pointer to `uintptr_t`, shift it left 16 bits, then shift right 16 bits - then an address in the higher half (usually in the Kernel) would be non-canonical. Do the same for `intptr_t` it will be canonical because the shift right is an arithmetic shift.
On other architectures this isn't the case. I know AARCH64 for example does not use canonicalization. If you were doing the same shift left/right by 16 as above on AARCH64, you'd want a uintptr_t.
Valuations of companies like Tesla take potential returns far into the future and value them like they've manifest today. The idea that the market reads this reality and responds is ridiculous; it's manufacturing the future reality.
Markets are fantasy football played with real economies.
Absolute insanity pretending this has anything to do with physical reality or intelligent strategic planning.
As for Huang - he was brought back because the Trump admin has no problem selling banned chips to China as long as it benefits Trump and his cronies personally.
This has nothing to do with the board or the shareholders.
> Valuations of companies like Tesla take potential returns far into the future and value them like they've manifest today.
With a current P/E of about 427, "far into the future" is doing incredible lifting. We're talking what, 50 years of potential returns?
There's not enough Kool-Aid to drink in the world to justify Tesla's valuation. Robotaxi would have to have to put Uber, Lyft, Waymo, and traditional taxi services out of business worldwide to even get remotely close to justifying their valuation.
> "The Attorney General of the United States has confirmed that the U.S. Government does not possess evidence that he has engaged in any unlawful conduct."
>"In April 2023, Trump hired Blanche to defend him for concealed hush-money payments to Stormy Daniels and he led Trump's defense in the 2024 criminal trial. Blanche later defended Trump in cases involving federal classified documents and election obstruction. In November 2024, following his victory in the 2024 presidential election, President-elect Donald Trump announced Blanche as his nominee for deputy attorney general. Blanche was confirmed by the Senate in March 2025."
What is the point of pretending about this? You know and I know that anyone with a couple million dollars to spare can bribe Trump for immunity from criminal investigation.
Because there isn't even very solid evidence of him actually breaking the law, and leaking details about someone's affairs to the NYT is not due process (and honestly very flimsy evidence).
The government can still prosecute him and I'm sure he's going to pay big time in civil court. But that's what it means to have rule of law.
If Trump is only protecting him because of corruption (I think it's much more complex than that) then he'll be held accountable very soon regardless
Who is "they"? If it's true that there's some secret cabal of anti-Jensen zealots, yes, it does seem like they played their hand poorly. But I don't understand the presumption that there must be a "they" in order for a billionaire philanderer to end up with his affairs in the news.
So sometimes (esp. when arguments are convenient), the US gov't > shareholders, but then at other times, the gov't bent over backwards to appease shareholders.
I've learned in the last few years that you should never give anyone your data even if they have the best terms in place. When revenue is short or opportunity is high, principles and terms are changed. And then it's too late.
I'm fine if they ban network connected games. I honestly don't mind them blowing the crap out of demons and pulling people's spines out of their bodies but the popular ones among those age groups are almost universally a problem for society, pushing microtransactions, grinding, gambling and their own corporate scrip. There is zero motor or skill development in such things, just mindless servitude and building addiction.
Messaging is a disaster as well until they have some maturity. I've seen and had to get involved in some awful crap including bullying, organising fights and trying to get other kids in trouble by reporting them to the police for stuff they didn't do. The schools and the parents have to get involved all the time.
And yes I have three kids who have been through that age transition, one before the rise of this mess and two after. The before was much better for the kids. Way better.
I'm not sure we can go back but we should give them a chance to learn these things without the machine being in the mediator of everything. It makes them better people in the long-run.
I’ve done work on the moderation side and I agree. We’re basically asking random mods to be the arbitrators of harms to children.
As it stands it feels like less safe games can get more users. I feel like that’s a bad incentive. It’s the sort of tragedy of commons which I think governments are most equipped to solve.
If everything is easy nothing is worth the struggle.
reply