diff options
author | Akshay <[email protected]> | 2022-08-02 17:49:41 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2022-08-02 17:49:41 +0100 |
commit | 9698183d180a470329d77304dc8e87d976fa753d (patch) | |
tree | dbda3b71ec8d1bb499244104719ec9247ff267b4 /docs/posts/a_reference_counted_afterlife/index.html | |
parent | f8204c2525a070fa0f5abdecece4cf210f21cfb7 (diff) |
new post: a reference counted afterlife
Diffstat (limited to 'docs/posts/a_reference_counted_afterlife/index.html')
-rw-r--r-- | docs/posts/a_reference_counted_afterlife/index.html | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/docs/posts/a_reference_counted_afterlife/index.html b/docs/posts/a_reference_counted_afterlife/index.html new file mode 100644 index 0000000..67016a6 --- /dev/null +++ b/docs/posts/a_reference_counted_afterlife/index.html | |||
@@ -0,0 +1,97 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html lang="en"> | ||
3 | <head> | ||
4 | <link rel="stylesheet" href="/style.css"> | ||
5 | <link rel="stylesheet" href="/syntax.css"> | ||
6 | <meta charset="UTF-8"> | ||
7 | <meta name="viewport" content="initial-scale=1"> | ||
8 | <meta content="#ffffff" name="theme-color"> | ||
9 | <meta name="HandheldFriendly" content="true"> | ||
10 | <meta property="og:title" content="A Reference Counted Afterlife"> | ||
11 | <meta property="og:type" content="website"> | ||
12 | <meta property="og:description" content="a static site {for, by, about} me "> | ||
13 | <meta property="og:url" content="https://peppe.rs"> | ||
14 | <link rel="icon" type="image/x-icon" href="/favicon.png"> | ||
15 | <title>A Reference Counted Afterlife · peppe.rs</title> | ||
16 | <body> | ||
17 | <div class="posts"> | ||
18 | <div class="post"> | ||
19 | <a href="/" class="post-end-link">Home</a> | ||
20 | <span>/</span> | ||
21 | <a href="/posts" class="post-end-link">Posts</a> | ||
22 | <span>/</span> | ||
23 | <a class="post-end-link">A Reference Counted Afterlife</a> | ||
24 | <a class="stats post-end-link" href="https://git.peppe.rs/web/site/plain/posts/a_reference_counted_afterlife.md | ||
25 | ">View Raw</a> | ||
26 | <div class="separator"></div> | ||
27 | <div class="date"> | ||
28 | 02/08 — 2022 | ||
29 | <div class="stats"> | ||
30 | <span class="stats-number"> | ||
31 | 19.57 | ||
32 | </span> | ||
33 | <span class="stats-unit">cm</span> | ||
34 |   | ||
35 | <span class="stats-number"> | ||
36 | 1.6 | ||
37 | </span> | ||
38 | <span class="stats-unit">min</span> | ||
39 | </div> | ||
40 | </div> | ||
41 | <h1> | ||
42 | A Reference Counted Afterlife | ||
43 | </h1> | ||
44 | <div class="post-text"> | ||
45 | <p>I took interest in the Egyptian rendition of the afterlife recently.</p> | ||
46 | <h3 id="parts-of-the-soul">Parts of the Soul</h3> | ||
47 | <p>Ancient Egyptians believed that the soul comprised of several components:</p> | ||
48 | <ul> | ||
49 | <li><em>ren</em></li> | ||
50 | <li><em>ka</em></li> | ||
51 | <li><em>ib</em></li> | ||
52 | <li><em>ba</em></li> | ||
53 | <li><em>sheut</em></li> | ||
54 | </ul> | ||
55 | <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> | ||
56 | <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> | ||
57 | <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> | ||
58 | <h3 id="garbage-collection">Garbage-collection</h3> | ||
59 | <p>The concept of <em>ren</em> seems to be perfectly analogous to reference counted garbage-collection.</p> | ||
60 | <ul> | ||
61 | <li>A name (<em>ren</em>) is assigned to an object (person) on initialization (at birth)</li> | ||
62 | <li>Names are used to refer to objects</li> | ||
63 | <li>Objects go out of existence when there are no more references to them</li> | ||
64 | </ul> | ||
65 | <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> | ||
66 | <p>Perhaps some cheeky Egyptian has attained immortality by creating a <em>ren</em>-cycle.</p> | ||
67 | |||
68 | </div> | ||
69 | |||
70 | <div class="intro"> | ||
71 | Hi. | ||
72 | <div class="hot-links"> | ||
73 | <a href="https://peppe.rs/index.xml" class="feed-button">Subscribe</a> | ||
74 | <a href="https://liberapay.com/nerdypepper/donate" class="donate-button">Donate</a> | ||
75 | </div> | ||
76 | <p>I'm Akshay, I go by nerd or nerdypepper on the internet.</p> | ||
77 | <p> | ||
78 | I am a compsci undergrad, Rust programmer and an enthusiastic Vimmer. | ||
79 | I write <a href="https://git.peppe.rs">open-source stuff</a> to pass time. | ||
80 | I also design fonts: | ||
81 | <a href="https://git.peppe.rs/fonts/scientifica">scientifica</a>, | ||
82 | <a href="https://git.peppe.rs/fonts/curie">curie</a>. | ||
83 | </p> | ||
84 | <p>Send me a mail at [email protected] or a message at [email protected].</p> | ||
85 | </div> | ||
86 | |||
87 | <a href="/" class="post-end-link">Home</a> | ||
88 | <span>/</span> | ||
89 | <a href="/posts" class="post-end-link">Posts</a> | ||
90 | <span>/</span> | ||
91 | <a class="post-end-link">A Reference Counted Afterlife</a> | ||
92 | <a class="stats post-end-link" href="https://git.peppe.rs/web/site/plain/posts/a_reference_counted_afterlife.md | ||
93 | ">View Raw</a> | ||
94 | </div> | ||
95 | </div> | ||
96 | </body> | ||
97 | </html> | ||