News for hackers. Stuff that matters.
Re:It's not what programming languages do, it's what they sh... by guavaNinja on Friday January 07, 2022 @06:42AM (#29837941)
I think they meant you allocate data once and pass their pointers to a function to put its outputs there. `void return_multi(T* out0, M*out1);`
Re:It's not what programming languages do, it's what they sh... by kaba0 on Friday January 07, 2022 @07:53AM (#29838534)
But then you can just pass in a mutable object as well in java.