<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>RefCell on Nalar</title>
    <link>https://nalar.dev/tags/refcell/</link>
    <description>Recent content in RefCell on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 02 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/refcell/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Interior Mutability in Rust with RefCell</title>
      <link>https://nalar.dev/interior-mutability-in-rust-with-refcell/</link>
      <pubDate>Wed, 02 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/interior-mutability-in-rust-with-refcell/</guid>
      <description>&lt;p&gt;Rust normally enforces borrowing at compile time: either one mutable reference or any number of immutable references may exist at a given moment. That rule prevents data races and many aliasing bugs before the program runs.&lt;/p&gt;&#xA;&lt;p&gt;Sometimes the compiler cannot prove that a safe mutation pattern is valid, even though the program can enforce the rule dynamically. &lt;code&gt;RefCell&amp;lt;T&amp;gt;&lt;/code&gt; provides interior mutability for those cases by moving borrow checking from compile time to runtime.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
