<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-12 9:25 GMT-07:00 Owen Anderson <span dir="ltr"><<a href="mailto:owen@apple.com" target="_blank">owen@apple.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><br><div><div class=""><div>On Jun 12, 2014, at 9:02 AM, Philip Reames <<a href="mailto:listmail@philipreames.com" target="_blank">listmail@philipreames.com</a>> wrote:</div><br><blockquote type="cite">
<div text="#000000" bgcolor="#FFFFFF">
<div>On 06/12/2014 12:28 AM, Owen Anderson
wrote:<br>
</div>
<blockquote type="cite">
<br>
<div>
<div>On Jun 11, 2014, at 11:29 PM, deadal nix <<a href="mailto:deadalnix@gmail.com" target="_blank">deadalnix@gmail.com</a>>
wrote:</div>
<br>
<blockquote type="cite"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">It is gonna improve the
situation quite a lot for all frontend that use aggregate
loads (arguably, that is a bad practice, but that no reason
to stab people in the back when they do it anyway).</span><br>
</blockquote>
<br>
</div>
<div>I’m not sure I agree with that statement. If we don’t think
they should be used, not optimizing them is a good way to
discourage that. More generally, I’m concerned about how we
will ever get good test coverage of this code path, since we
don’t have any extant front ends that hit it.</div>
</blockquote>
I'm joining this discussion late, but a) why are aggregate loads bad
practice? Loading something like a small struct from memory with a
single load seems reasonable.</div></blockquote><div><br></div></div><div>They are not well supported through the code generator, and introducing them would add a lot of complexity. There are better solutions already in use. The only encouraged use case for first class structs is as multiple return values.</div>
<div class=""><br></div></div></div></blockquote><div><br></div><div>Refusing a patches to improve support because something is not well supported is the best way to ensure they are never well supported.<br></div><div><br>
</div></div></div></div>