On Sunday, 10 July 2016 at 13:15:38 UTC, Andrew Godfrey wrote:
Btw here's a thread from 2014 that touches on the idea of a "tailrec" annotation. At the time, Walter viewed the optimization as the compiler's business and not something he'd elevate to a language feature:



http://forum.dlang.org/post/lqp6pu$1kkv$1...@digitalmars.com

I find it odd that something like tail recursions that actually makes certain things possible that wouldn't be otherwise is seen as only an optimization, when things like inlining which really is only an optimization is seen as important enough to have a pragma.
              • ... Smoke Adams via Digitalmars-d-announce
              • ... ketmar via Digitalmars-d-announce
              • ... ag0aep6g via Digitalmars-d-announce
              • ... ketmar via Digitalmars-d-announce
              • ... ag0aep6g via Digitalmars-d-announce
              • ... ketmar via Digitalmars-d-announce
              • ... ag0aep6g via Digitalmars-d-announce
              • ... ketmar via Digitalmars-d-announce
  • Re: DIP: Tail call optimiz... Andrew Godfrey via Digitalmars-d-announce
    • Re: DIP: Tail call op... Andrew Godfrey via Digitalmars-d-announce
      • Re: DIP: Tail cal... Tofu Ninja via Digitalmars-d-announce
        • Re: DIP: Tail... Andrew Godfrey via Digitalmars-d-announce
          • Re: DIP: ... Dietrich Daroch via Digitalmars-d-announce
            • Re: ... Ola Fosheim Grøstad via Digitalmars-d-announce
              • ... Dietrich Daroch via Digitalmars-d-announce
              • ... Ola Fosheim Grøstad via Digitalmars-d-announce
            • Re: ... Andrew Godfrey via Digitalmars-d-announce
              • ... Dietrich Daroch via Digitalmars-d-announce
              • ... Andrew Godfrey via Digitalmars-d-announce
              • ... Dietrich Daroch via Digitalmars-d-announce
    • Re: DIP: Tail call op... Dietrich Daroch via Digitalmars-d-announce

Reply via email to