Thread overview | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
July 10, 2016 DIP: Tail call optimization | ||||
---|---|---|---|---|
| ||||
Hi everyone (= I've just added a new proposal to add a new attribute to ensure TCO is applied. The proposal is really simple, but I'm clueless on how to implement it and also interested on getting feedback on it. The proposal it's ready for merge on the new [DIPs repo](https://github.com/dlang/DIPs/pull/6) -- Dietrich |
July 10, 2016 Re: DIP: Tail call optimization | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dietrich Daroch | On Sunday, 10 July 2016 at 05:03:46 UTC, Dietrich Daroch wrote:
> Hi everyone (=
>
> I've just added a new proposal to add a new attribute to ensure TCO is applied.
>
> The proposal is really simple, but I'm clueless on how to implement it and also interested on getting feedback on it.
>
>
> The proposal it's ready for merge on the new [DIPs repo](https://github.com/dlang/DIPs/pull/6)
>
> --
> Dietrich
That's crap...I disassemble DMD output some time to time. It already does TCO.
Definitively a lol day...
|
July 10, 2016 Re: DIP: Tail call optimization | ||||
---|---|---|---|---|
| ||||
Posted in reply to A.B | On Sunday, 10 July 2016 at 05:24:49 UTC, A.B wrote:
> On Sunday, 10 July 2016 at 05:03:46 UTC, Dietrich Daroch wrote:
>> Hi everyone (=
>>
>> I've just added a new proposal to add a new attribute to ensure TCO is applied.
>>
>> The proposal is really simple, but I'm clueless on how to implement it and also interested on getting feedback on it.
>>
>>
>> The proposal it's ready for merge on the new [DIPs repo](https://github.com/dlang/DIPs/pull/6)
>>
>> --
>> Dietrich
>
> That's crap...I disassemble DMD output some time to time. It already does TCO.
> Definitively a lol day...
Yes, it probably does TCO. The problem is what if you think it does and it cannot do it because of a misunderstanding on when it can be applied or a bug?
|
July 10, 2016 Re: DIP: Tail call optimization | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dietrich Daroch | On Sunday, 10 July 2016 at 05:55:50 UTC, Dietrich Daroch wrote:
> Yes, it probably does TCO. The problem is what if you think it does and it cannot do it because of a misunderstanding on when it can be applied or a bug?
there can't be any "misunderstanding" from compiler side. either it is a leaf return, or not -- it is as easy as that. what your DIP is aimed for is brain-damaged coders who are not able to understand how programs work (and why "scope(exit)" may prevent TCO). it won't help anyone. sorry.
|
July 10, 2016 Re: DIP: Tail call optimization | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dietrich Daroch | On Sunday, 10 July 2016 at 05:55:50 UTC, Dietrich Daroch wrote:
> On Sunday, 10 July 2016 at 05:24:49 UTC, A.B wrote:
>> On Sunday, 10 July 2016 at 05:03:46 UTC, Dietrich Daroch wrote:
>>> Hi everyone (=
>>>
>>> I've just added a new proposal to add a new attribute to ensure TCO is applied.
>>>
>>> The proposal is really simple, but I'm clueless on how to implement it and also interested on getting feedback on it.
>>>
>>>
>>> The proposal it's ready for merge on the new [DIPs repo](https://github.com/dlang/DIPs/pull/6)
>>>
>>> --
>>> Dietrich
>>
>> That's crap...I disassemble DMD output some time to time. It already does TCO.
>> Definitively a lol day...
>
> Yes, it probably does TCO. The problem is what if you think it does and it cannot do it because of a misunderstanding on when it can be applied or a bug?
When the tought is not clear the sentences are messy.
|
July 10, 2016 Re: DIP: Tail call optimization | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dietrich Daroch | On Sunday, 10 July 2016 at 05:55:50 UTC, Dietrich Daroch wrote:
> Yes, it probably does TCO. The problem is what if you think it does and it cannot do it because of a misunderstanding on when it can be applied or a bug?
Then file a bug report?
|
July 10, 2016 Re: DIP: Tail call optimization | ||||
---|---|---|---|---|
| ||||
Posted in reply to A.B | On Sunday, 10 July 2016 at 06:17:17 UTC, A.B wrote:
> On Sunday, 10 July 2016 at 05:55:50 UTC, Dietrich Daroch wrote:
>> On Sunday, 10 July 2016 at 05:24:49 UTC, A.B wrote:
>>> On Sunday, 10 July 2016 at 05:03:46 UTC, Dietrich Daroch wrote:
>>>> [...]
>>>
>>> That's crap...I disassemble DMD output some time to time. It already does TCO.
>>> Definitively a lol day...
>>
>> Yes, it probably does TCO. The problem is what if you think it does and it cannot do it because of a misunderstanding on when it can be applied or a bug?
>
> When the tought is not clear the sentences are messy.
- "That's crap"
- "brain-damaged coders"
... guys, please stay friendly, constructive and polite! I thought we are all grown-ups here!
|
July 10, 2016 Re: DIP: Tail call optimization | ||||
---|---|---|---|---|
| ||||
Posted in reply to Seb | On Sunday, 10 July 2016 at 06:20:59 UTC, Seb wrote:
> On Sunday, 10 July 2016 at 06:17:17 UTC, A.B wrote:
>> On Sunday, 10 July 2016 at 05:55:50 UTC, Dietrich Daroch wrote:
>>> On Sunday, 10 July 2016 at 05:24:49 UTC, A.B wrote:
>>>> On Sunday, 10 July 2016 at 05:03:46 UTC, Dietrich Daroch wrote:
>>>>> [...]
>>>>
>>>> That's crap...I disassemble DMD output some time to time. It already does TCO.
>>>> Definitively a lol day...
>>>
>>> Yes, it probably does TCO. The problem is what if you think it does and it cannot do it because of a misunderstanding on when it can be applied or a bug?
>>
>> When the tought is not clear the sentences are messy.
>
> - "That's crap"
> - "brain-damaged coders"
>
> ... guys, please stay friendly, constructive and polite! I thought we are all grown-ups here!
Get fucked by yourself asshole ! Your penance is that you'll have to review all the crappy DIPs that will come on GH until your death, now that anyone can post his fantastic idea easily.
Hahahahaha.
|
July 10, 2016 Re: DIP: Tail call optimization | ||||
---|---|---|---|---|
| ||||
Posted in reply to Seb | On Sunday, 10 July 2016 at 06:20:59 UTC, Seb wrote:
> ... guys, please stay friendly, constructive and polite! I thought we are all grown-ups here!
i do. someone who is not able to understand when and how TCO works is clearly brain-damaged. if he isn't, why did he become programmer in the first place? it is clear that he is not able to program.
|
July 10, 2016 Re: DIP: Tail call optimization | ||||
---|---|---|---|---|
| ||||
Posted in reply to ketmar | On Sunday, 10 July 2016 at 06:37:18 UTC, ketmar wrote:
> On Sunday, 10 July 2016 at 06:20:59 UTC, Seb wrote:
>> ... guys, please stay friendly, constructive and polite! I thought we are all grown-ups here!
>
> i do. someone who is not able to understand when and how TCO works is clearly brain-damaged. if he isn't, why did he become programmer in the first place? it is clear that he is not able to program.
note that i didn't said this about OP, in no way. so no personal attacks here.
|
Copyright © 1999-2021 by the D Language Foundation