Exceptions in @nogc code

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 8 13:09:49 PDT 2017


On 4/7/2017 9:30 AM, deadalnix wrote:
> On Thursday, 6 April 2017 at 22:11:55 UTC, Walter Bright wrote:
>> On 4/6/2017 2:18 PM, H. S. Teoh via Digitalmars-d wrote:
>>> You were asking for a link to deadalnix's original discussion, and
>>> that's the link I found (somebody else also posted a link to the same
>>> discussion).
>>
>> Only deadalnix can confirm that's what he's talking about.
>
> Yes this: https://forum.dlang.org/thread/kpgilxyyrrluxpepepcg@forum.dlang.org
> Also this: https://forum.dlang.org/post/kluaojijixhwigoujeip@forum.dlang.org

Some convenient single page links:

http://www.digitalmars.com/d/archives/digitalmars/D/On_heap_segregation_GC_optimization_and_nogc_relaxing_247498.html

http://www.digitalmars.com/d/archives/digitalmars/D/isolated_owned_would_solve_many_problem_we_face_right_now._212165.html


> I also produced a fairly detailed spec of how lifetime can be tracked in the
> lifetime ML. This address scope and do not require owned by itself. Considering
> the compiler infer what it calls "unique" already, it could solve the @nogc
> Exception problem to some extent without the owned part. Because it is in a ML,
> I cannot post a link.

Please repost it somewhere and a link. It's not very practical to refer to 
documents nobody is able to read.



More information about the Digitalmars-d mailing list