<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 15 Sept 2024, 14:11 Johan via Digitalmars-d, <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sunday, 15 September 2024 at 12:06:53 UTC, Manu wrote:<br>
> On Sat, 14 Sept 2024, 09:36 Johan via Digitalmars-d, < <br>
> <a href="mailto:digitalmars-d@puremagic.com" target="_blank" rel="noreferrer">digitalmars-d@puremagic.com</a>> wrote:<br>
><br>
>> On Thursday, 12 September 2024 at 22:59:32 UTC, Manu wrote:<br>
>> ><br>
>> > How?<br>
>> > And it's not 'rare'; it's 'niche'. For a microcontroller with<br>
>> > no branch<br>
>> > prediction, it's common and essential.<br>
>> > It's literally unworkable to write code for the platform<br>
>> > without this tool;<br>
>> > you can't have branches constantly mispredicting.<br>
>><br>
>> It would help if your arguments would not use so much <br>
>> hyperbole. Obviously it is not unworkable, demonstrated by <br>
>> decades of microcontroller programming without it (C does not <br>
>> have it).<br>
><br>
><br>
> Huh? I've been writing expect statements in C for 20 years or <br>
> maybe more...<br>
<br>
I meant - of course - something besides `expect`. I was <br>
responding to your "this tool", thinking that it must refer to <br>
your new proposal, because otherwise why would there be a <br>
discussion? But apparently you meant "expect". Then there is no <br>
debate:<br>
when writing D for microcontrollers today (i.e. you need to use <br>
GDC or LDC) you have the option to use the equivalent of <br>
`expect`. Use it.<br>
<br>
I'm sorry for entering this discussion and will leave. I do not <br>
get a sense that the desire is to build a balanced view and come <br>
to a shared conclusion.<br>
<br>
-Johan<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">No I'm not proposing expect; but saying that expect has been the state-of-the-art forever, and we're done with that now.</div><div dir="auto">Using expect has always been an unsatisfying experience, but at least it's rare. Now that this particular issue is more relevant than ever, and at least C++ has acknowledged and accepted this, it's time we fix this too.</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>