Will the D GC be awesome?

Alex Rønne Petersen alex at lycus.org
Thu Oct 4 03:59:33 PDT 2012


On 04-10-2012 08:50, Jacob Carlborg wrote:
> On 2012-10-04 01:33, Alex Rønne Petersen wrote:
>
>> Use tuples. Multiple return values (as far as ABI goes) are impractical
>> because every major compiler back end (GCC, LLVM, ...) would have to be
>> adjusted for every architecture.
>
> Why can't it just be syntax sugar for returning a struct?
>

I agree that it should be, FWIW. The problem is that some people really 
expect the ABI to be altered, which is unrealistic.

-- 
Alex Rønne Petersen
alex at lycus.org
http://lycus.org


More information about the Digitalmars-d mailing list