add thoughts about vm
This commit is contained in:
parent
b77866baf9
commit
f2b342a807
15
thoughts.md
Normal file
15
thoughts.md
Normal file
|
@ -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<String>`
|
||||||
|
|
||||||
|
Keywords are static/interned.
|
||||||
|
|
||||||
|
Tuples should be refcounted for now.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user