From f2b342a8075eb254e8608ba4c36295026c8ff55c Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Fri, 1 Nov 2024 16:58:16 -0400 Subject: [PATCH] add thoughts about vm --- thoughts.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 thoughts.md diff --git a/thoughts.md b/thoughts.md new file mode 100644 index 0000000..383bd9b --- /dev/null +++ b/thoughts.md @@ -0,0 +1,15 @@ +# VM thoughts + +We want numbers and bools as unboxed as possible. + +Nil is a singleton, and should be static. + +Strings come in two flavours: +* String literals, which are static/interned. +* Constructed strings, which should be `Rc` + +Keywords are static/interned. + +Tuples should be refcounted for now. + +