From 9698183d180a470329d77304dc8e87d976fa753d Mon Sep 17 00:00:00 2001 From: Akshay Date: Tue, 2 Aug 2022 22:19:41 +0530 Subject: new post: a reference counted afterlife --- .../posts/a_reference_counted_afterlife/index.html | 97 ++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 docs/posts/a_reference_counted_afterlife/index.html (limited to 'docs/posts/a_reference_counted_afterlife') 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 @@ + + + + + + + + + + + + + + + A Reference Counted Afterlife · peppe.rs + +
+
+ Home + / + Posts + / + A Reference Counted Afterlife + View Raw +
+
+ 02/08 — 2022 +
+ + 19.57 + + cm +   + + 1.6 + + min +
+
+

+ A Reference Counted Afterlife +

+
+

I took interest in the Egyptian rendition of the afterlife recently.

+

Parts of the Soul

+

Ancient Egyptians believed that the soul comprised of several components:

+
    +
  • ren
  • +
  • ka
  • +
  • ib
  • +
  • ba
  • +
  • sheut
  • +
+

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.

+

Of all of these bits, I find ren, which simply means name, to be the most interesting. Ba, the human-headed chicken that represents personality, is a close favourite.

+

Ren 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.

+

Garbage-collection

+

The concept of ren seems to be perfectly analogous to reference counted garbage-collection.

+
    +
  • A name (ren) is assigned to an object (person) on initialization (at birth)
  • +
  • Names are used to refer to objects
  • +
  • Objects go out of existence when there are no more references to them
  • +
+

The concept of ren seems to model human-memory. The similarity with garbage-collection is now easily explained, because garbage-collection models a program’s memory.

+

Perhaps some cheeky Egyptian has attained immortality by creating a ren-cycle.

+ +
+ +
+ Hi. + +

I'm Akshay, I go by nerd or nerdypepper on the internet.

+

+ I am a compsci undergrad, Rust programmer and an enthusiastic Vimmer. + I write open-source stuff to pass time. + I also design fonts: + scientifica, + curie. +

+

Send me a mail at nerdy@peppe.rs or a message at nerdypepper@irc.rizon.net.

+
+ + Home + / + Posts + / + A Reference Counted Afterlife + View Raw +
+
+ + -- cgit v1.2.3