From 5ee84af68f981ca37c198933d62f662520ed82c6 Mon Sep 17 00:00:00 2001 From: anon Date: Mon, 1 Jul 2024 23:56:59 +0200 Subject: [PATCH] +readme --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..36644a4 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# Stacktor +> stack-vector + +So, +theres this very technical sentiment that dynamic vectors are +impossible due to how memory layout works. +We constantly have to reallocate vectors on the heap if we wish to expand them. + +Now, +here is an even more technical gotcha'. +The stack is dynamic (""), +but we use it for all locals... +Except all threads (under Linux anyways) get their own stack. + +Logically follows that a stacktor is vector implemented using the stack, +cheesing threads. + +Does this have any benefits? Not really. Is it evil? Definitely. +Anyways, enjoy.