summaryrefslogtreecommitdiff
path: root/doc/0/A-meta_alloc.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/0/A-meta_alloc.md')
-rw-r--r--doc/0/A-meta_alloc.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/0/A-meta_alloc.md b/doc/0/A-meta_alloc.md
index 7383ec2..cde3f54 100644
--- a/doc/0/A-meta_alloc.md
+++ b/doc/0/A-meta_alloc.md
@@ -2,7 +2,7 @@
<!--TOC-->
-The Zisp runtime aims to offer peak performance. Although Zisp also
+The Xisp runtime aims to offer peak performance. Although Xisp also
aims to offer a capability to generate optimal binaries with native
compiled code, performing its own memory management, with no runtime
dependencies, it is expected that many programs will simply opt for
@@ -14,12 +14,12 @@ reasonable proximity to fine-tuned C code, then the number of times
programmers find themselves reaching for more complex code, such as
manual memory management, can be minimized.
-To this end, Zisp entirely foregoes general-purpose heap allocators
+To this end, Xisp entirely foregoes general-purpose heap allocators
offered by the platforms it runs on, or the standard library of the
language it's implemented in, and instead implements its own memory
allocator based directly on `mmap()` and equivalents.
-This is called the Meta Allocator, because various parts of the Zisp
+This is called the Meta Allocator, because various parts of the Xisp
runtime are expected to implement their own local memory management
strategies, such as arena allocators or object pools, while still
relying on Meta Alloc so that they don't need to individually deal
@@ -99,8 +99,8 @@ Therefore:
* Total virtual memory: `16 GiB * 16 = 256 GiB`
-If you notice, after launching the Zisp REPL or a program using the
-Zisp runtime, that the operating system reports that the process is
+If you notice, after launching the Xisp REPL or a program using the
+Xisp runtime, that the operating system reports that the process is
using hundreds of gigabytes of virtual memory, do not panic; it's a
feature, not a bug, and completely benign.
@@ -113,10 +113,10 @@ use of them.
**WARNING:** Calling `alloc()` with a size smaller than 256 or one
that is not a perfect power of two will lead to catastrophic bugs
-under optimized builds of Zisp.
+under optimized builds of Xisp.
-Generally, Zisp application code will have no direct access to this
-function, so this should not be a big deal so long as Zisp's runtime
+Generally, Xisp application code will have no direct access to this
+function, so this should not be a big deal so long as Xisp's runtime
implementation is thoroughly tested.
If a size greater than the largest size class is requested, then Meta