aboutsummaryrefslogtreecommitdiff
path: root/docs/posts/a_reference_counted_afterlife/index.html
blob: 0aa2f03a78da9d543b4805f515e5dc1ebba19a83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html lang="en">
  <head>
    <link rel="stylesheet" href="/style.css">
    <link rel="stylesheet" href="/syntax.css">
    <meta charset="UTF-8">
    <meta name="viewport" content="initial-scale=1">
    <meta content="#ffffff" name="theme-color">
    <meta name="HandheldFriendly" content="true">
    <meta property="og:title" content="A Reference Counted Afterlife">
    <meta property="og:type" content="website">
    <meta property="og:description" content="a static site {for, by, about} me ">
    <meta property="og:url" content="https://peppe.rs">
    <link rel="icon" type="image/x-icon" href="/favicon.png">
    <title>A Reference Counted Afterlife · peppe.rs</title>
    <body>
      <div class="posts">
        <div class="post">
          <a href="/" class="post-end-link">Home</a>
          <span>/</span>
          <a href="/posts" class="post-end-link">Posts</a>
          <span>/</span>
          <a class="post-end-link">A Reference Counted Afterlife</a>
          <a class="stats post-end-link" href="https://git.peppe.rs/web/site/plain/posts/a_reference_counted_afterlife.md
">View Raw</a>
          <div class="separator"></div>
          <div class="date">
            02/08 — 2022
            <div class="stats">
              <span class="stats-number">
                19.58
              </span>
              <span class="stats-unit">cm</span>
              &nbsp
              <span class="stats-number">
                1.6
              </span>
              <span class="stats-unit">min</span>
            </div>
          </div>
          <h1>
            A Reference Counted Afterlife
          </h1>
          <div class="post-text">
            <p>I took interest in the Egyptian rendition of the afterlife
recently.</p>
<h3 id="parts-of-the-soul">Parts of the Soul</h3>
<p>Ancient Egyptians believed that the soul comprised of several
components:</p>
<ul>
<li><em>ren</em></li>
<li><em>ka</em></li>
<li><em>ib</em></li>
<li><em>ba</em></li>
<li><em>sheut</em></li>
</ul>
<p>Egyptians emphasized on preserving the different parts of the soul.
Mummification for example, served to preserve the physical part of the
soul. The other components have their respective preservation
strategies.</p>
<p>Of all of these bits, I find <em>ren</em>, which simply means
<em>name</em>, to be the most interesting. <em>Ba</em>, the human-headed
chicken that represents <em>personality</em>, is a close favourite.</p>
<p><em>Ren</em> is the name given to a person at birth. Egyptians
believed that this portion of the soul would continue to live on for as
long as it was spoken. If you were someone worthy of continued
existence, your name would be inscribed all over the place. If you were
the type to snatch away bread from children, your name would be
condemned from memory, forgotten.</p>
<h3 id="garbage-collection">Garbage-collection</h3>
<p>The concept of <em>ren</em> seems to be perfectly analogous to
reference counted garbage-collection.</p>
<ul>
<li>A name (<em>ren</em>) is assigned to an object (person) on
initialization (at birth)</li>
<li>Names are used to refer to objects</li>
<li>Objects go out of existence when there are no more references to
them</li>
</ul>
<p>The concept of <em>ren</em> seems to model human-memory. The
similarity with garbage-collection is now easily explained, because
garbage-collection models a program’s memory.</p>
<p>Perhaps some cheeky Egyptian has attained immortality by creating a
<em>ren</em>-cycle.</p>

          </div>
          
    <div class="intro">
        Hi. 
        <div class="hot-links">
            <a href="/index.xml" class="feed-button">Subscribe</a>
        </div>
        <p>I'm Akshay, programmer and pixel-artist.
        I write <a href="https://git.peppe.rs">open-source stuff</a>. 
        I also design fonts: 
        <a href="https://git.peppe.rs/fonts/scientifica/about">scientifica</a>, 
        <a href="https://git.peppe.rs/fonts/curie/about">curie</a>.
        </p>
        <p>Reach out at [email protected].</p>
    </div>
    
          <a href="/" class="post-end-link">Home</a>
          <span>/</span>
          <a href="/posts" class="post-end-link">Posts</a>
          <span>/</span>
          <a class="post-end-link">A Reference Counted Afterlife</a>
          <a class="stats post-end-link" href="https://git.peppe.rs/web/site/plain/posts/a_reference_counted_afterlife.md
">View Raw</a>
        </div>
      </div>
    </body>
</html>