2
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@mcc" class="u-url mention">@<span>mcc</span></a></span> row types would be nice yeah</p><p>yay ocaml</p>
<p>A thing I<br />c o n s t a n t l y<br />wish for when using Rust, is the ability to type an instance of an enum such that the instance is restricted to one particular variant or a specific subset of variants</p>
<p><span class="h-card" translate="no"><a href="https://social.noyu.me/@hikari" class="u-url mention">@<span>hikari</span></a></span> i call it &quot;Flight&quot; and there is a skill curve to sustaining it without going too deep unintentionally</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> Thanks!</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@mcc" class="u-url mention">@<span>mcc</span></a></span> <a href="https://doc.rust-lang.org/std/rc/struct.Weak.html" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">doc.rust-lang.org/std/rc/struc</span><span class="invisible">t.Weak.html</span></a></p>
<p>Does Rust have anything like a Java/ Objective-C &quot;weak reference&quot;? I.E. I mean</p><p>1. One Owner<br />2. Many Rc&lt;T&gt; type references, except<br />3. If the Owner ever Drops the true object, all Rc&lt;T&gt; type references become instantly aware of this, and the &quot;weak&quot; references can both be checked for liveness and also cleanly panic if they are accessed after the drop dead date</p>
<p><span class="h-card" translate="no"><a href="https://social.treehouse.systems/@rcombs" class="u-url mention">@<span>rcombs</span></a></span> you can target those who already are inclined to be in that group, and then once their environment skews more that direction they&#39;re gonna be retained better exactly because of how alienating it is; some will pull in fresh blood</p>
<p><span class="h-card" translate="no"><a href="https://social.treehouse.systems/@rcombs" class="u-url mention">@<span>rcombs</span></a></span> i think if you recruit from rat communities it won&#39;t be that bad, plus in general engineers skew right already</p><p>it will be worse, but i&#39;d be surprised if it will get more than twice as bad</p>
<p><span class="h-card" translate="no"><a href="https://social.treehouse.systems/@rcombs" class="u-url mention">@<span>rcombs</span></a></span> I know/knew some and I don&#39;t think they make choices as rationally as you presume, from conversations</p><p>I think there will for sure be attrition (how many are on H1Bs alone?) but I wouldn&#39;t expect a drastic change necessarily</p>