<feed xmlns='http://www.w3.org/2005/Atom'>
<title>moon/zygotec/docs/design/destructors.md, branch work/uninit-locals</title>
<subtitle> work-in-progress programming language.
</subtitle>
<id>https://git.downsta.ir/moon/zygotec/atom?h=work%2Funinit-locals</id>
<link rel='self' href='https://git.downsta.ir/moon/zygotec/atom?h=work%2Funinit-locals'/>
<link rel='alternate' type='text/html' href='https://git.downsta.ir/moon/zygotec/'/>
<updated>2026-10-15T14:59:55+00:00</updated>
<entry>
<title>duplicate case labels are an error (b.2.15); unterminated string literal reported where it starts (b.2.11); an unreachable droppable cycle drops whole in one collection (6.15.3)</title>
<updated>2026-10-15T14:59:55+00:00</updated>
<author>
<name>zinc</name>
<email>zinc@downsta.ir</email>
</author>
<published>2026-10-15T14:59:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.downsta.ir/moon/zygotec/commit/?id=e7fe081efaae893ed46548fdbc3bfa39b2879878'/>
<id>urn:sha1:e7fe081efaae893ed46548fdbc3bfa39b2879878</id>
<content type='text'>
</content>
</entry>
<entry>
<title>actor: a declared actor without its own drop gets one that awaits owed replies and closes the endpoint; the handler reaches the struct through endpoint.state so the struct isn't shared; spawn hint skips mailbox structs</title>
<updated>2026-10-14T23:21:54+00:00</updated>
<author>
<name>zinc</name>
<email>zinc@downsta.ir</email>
</author>
<published>2026-10-14T23:21:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.downsta.ir/moon/zygotec/commit/?id=fc89e5ea115d6da2217b52a87ba8eb73c207e916'/>
<id>urn:sha1:fc89e5ea115d6da2217b52a87ba8eb73c207e916</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rt: gc_drops finalizes a droppable value that reaches itself (a cycle, or a drop capturing its own value), one per collection, each once; before, each waited for the other forever; spec 6.15.3, drop_gc_cycle.zc, drop_gc_self_capture.zc, design doc lists what landed</title>
<updated>2026-10-14T23:14:26+00:00</updated>
<author>
<name>zinc</name>
<email>zinc@downsta.ir</email>
</author>
<published>2026-10-14T23:14:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.downsta.ir/moon/zygotec/commit/?id=a175ffd5d18d2883279c94d727f5966ecda409ab'/>
<id>urn:sha1:a175ffd5d18d2883279c94d727f5966ecda409ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>docs: destructors: the free paths clear the entry in dropfree, right after the drop and before the children</title>
<updated>2026-10-14T20:47:37+00:00</updated>
<author>
<name>zinc</name>
<email>zinc@downsta.ir</email>
</author>
<published>2026-10-14T20:47:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.downsta.ir/moon/zygotec/commit/?id=24b6dfd8e8e1ba678e79e1789583f78b3e2dda9d'/>
<id>urn:sha1:24b6dfd8e8e1ba678e79e1789583f78b3e2dda9d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>destructors: heap(v), drop(v, f) / v.drop(f) / v.drop = f, struct drop methods, collector drops after the sweep (once, resurrection), freed blocks forget their drop, temporaries drop at statement end with a hint, actor send check; o3: no collection inside a region (pending until the outermost exit), no drops set or ended inside o3; spec 3.11.6, 4.10.3-4, 6.15</title>
<updated>2026-10-14T19:40:49+00:00</updated>
<author>
<name>zinc</name>
<email>zinc@downsta.ir</email>
</author>
<published>2026-10-14T19:40:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.downsta.ir/moon/zygotec/commit/?id=8af3174b04f18d858653ad70669dced71f5eaa99'/>
<id>urn:sha1:8af3174b04f18d858653ad70669dced71f5eaa99</id>
<content type='text'>
</content>
</entry>
<entry>
<title>docs: destructors: clear drop entry and bits on free; planned reuse test</title>
<updated>2026-10-14T19:05:10+00:00</updated>
<author>
<name>zinc</name>
<email>zinc@downsta.ir</email>
</author>
<published>2026-10-14T18:07:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.downsta.ir/moon/zygotec/commit/?id=ee13eba61d36b373c801218933b72b348b3a5a78'/>
<id>urn:sha1:ee13eba61d36b373c801218933b72b348b3a5a78</id>
<content type='text'>
</content>
</entry>
<entry>
<title>docs: destructors: value and type drops both run, side table storage, F_HASDROP/F_DROPPED bits</title>
<updated>2026-10-14T19:05:10+00:00</updated>
<author>
<name>zinc</name>
<email>zinc@downsta.ir</email>
</author>
<published>2026-10-14T18:06:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.downsta.ir/moon/zygotec/commit/?id=65b44a70ed3f4b6b202d983f27ef7a068fb56aa5'/>
<id>urn:sha1:65b44a70ed3f4b6b202d983f27ef7a068fb56aa5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>docs: revise destructors draft to acorn's rulings (drop on any heap value, heap() builtin, gc runs drops)</title>
<updated>2026-10-14T19:05:10+00:00</updated>
<author>
<name>zinc</name>
<email>zinc@downsta.ir</email>
</author>
<published>2026-10-14T17:38:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.downsta.ir/moon/zygotec/commit/?id=1b7da03c1442053637243bcd6743a0d885d83095'/>
<id>urn:sha1:1b7da03c1442053637243bcd6743a0d885d83095</id>
<content type='text'>
</content>
</entry>
<entry>
<title>docs: draft design for destructors on heap objects</title>
<updated>2026-10-14T19:05:10+00:00</updated>
<author>
<name>zinc</name>
<email>zinc@downsta.ir</email>
</author>
<published>2026-10-14T17:03:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.downsta.ir/moon/zygotec/commit/?id=c1328eec5a03ed1693820d29a477baddf275415f'/>
<id>urn:sha1:c1328eec5a03ed1693820d29a477baddf275415f</id>
<content type='text'>
</content>
</entry>
</feed>
