News for hackers. Stuff that matters.
Re:Organizations Using the D Language by moonchild on Wednesday February 17, 2021 @12:45AM (#26163138)
Objects on the stack aren't pointers at all...
Re:Organizations Using the D Language by WalterBright on Wednesday February 17, 2021 @02:01AM (#26163529)
If you have a struct on the stack, and call member functions, you've got pointers. For an array on the stack, taking a slice of it or looping through it with pointers, you've got pointers. For a variable on the stack, passing it by ref to another function, there are pointers.