<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Two Birds One Stone: Effective Static Detection of Resource and Communication Deadlocks in Rust Programs · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2401.01114/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/2401.01114/feed.xml" rel="self" type="application/rss+xml" /><item><title>Two Birds One Stone: Effective Static Detection of Resource and Communication Deadlocks in Rust Programs — mentioned by Animats</title><link>https://news.ycombinator.com/item?id=43987311</link><guid isPermaLink="false">urn:hackerpapers:mention:2401.01114:43987311</guid><pubDate>Wed, 14 May 2025 17:47:38 GMT</pubDate><description>&lt;p&gt;Yes. But the Arc has to wrap a Mutex, which means you have to lock to get access. It&amp;#x27;s a dual of the Rc/RefCell/borrow mechanism. The trouble with calling .lock() is that there is a potential for deadlock. There are some people working on static analysis for deadlock prevention, which is a dual of the static analysis for double borrow protection problem. We&amp;#x27;re maybe a PhD thesis or two from a solution. Here&amp;#x27;s some current research, out of Shanghai.[1] Outlines the theory, but code does not yet seem to be available. [1] https://arxiv.org/pdf/2401.01114&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2401.01114/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.PL</category></item><item><title>Two Birds One Stone: Effective Static Detection of Resource and Communication Deadlocks in Rust Programs — HN submission</title><link>https://news.ycombinator.com/item?id=38873897</link><guid isPermaLink="false">urn:hackerpapers:submission:2401.01114:38873897</guid><pubDate>Thu, 04 Jan 2024 23:55:09 GMT</pubDate><description>&lt;p&gt;Static Deadlock Detection for Rust Programs&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;1 point; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2401.01114/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.PL</category></item></channel></rss>
