aboutsummaryrefslogtreecommitdiff
path: root/EssentialPostV1Features.md
diff options
context:
space:
mode:
authorLuke Wagner <mail@lukewagner.name>2015-05-01 11:18:36 -0500
committerLuke Wagner <mail@lukewagner.name>2015-05-01 11:18:36 -0500
commit94fdc6674635ebe687185f50b5f6a20281eaab39 (patch)
tree142df20937a9c84365eaea9e08dd54487f25c5ab /EssentialPostV1Features.md
parent9bdee79ef1c30090d59366043ff6db0a023a7185 (diff)
downloadnanowasm-design-94fdc6674635ebe687185f50b5f6a20281eaab39.tar.gz
address comments
Diffstat (limited to 'EssentialPostV1Features.md')
-rw-r--r--EssentialPostV1Features.md16
1 files changed, 2 insertions, 14 deletions
diff --git a/EssentialPostV1Features.md b/EssentialPostV1Features.md
index d22afcd..5d7a52e 100644
--- a/EssentialPostV1Features.md
+++ b/EssentialPostV1Features.md
@@ -6,20 +6,8 @@ in [future versions](FutureFeatures.md).
## 64-bit integers
* Provide access to efficient 64-bit arithmetic.
-* Also allow heaps greater than 4gb and load/store op that take 64-bit operands.
-* Some code will want to only use 64-bit integers when running on a 64-bit system.
- * For example, on a 32-bit system, a >4gb heap allocation will always OOM so there is no reason
- to use slow 64-bit ints for pointers.
- * Provide a "has native 64-bit integer" query.
- * Show we provide a uintptr_t (only 64-bit when the "has native 64-bit integer" query is true)?
- * This feature alone would not allow a C++ compiler to write size-polymorphic code since the word
- size is also baked into the code in a hundred other ways (consider `offsetof`).
- * The compiler *could* inflate all pointer types that are used in heap storage to 64-bit (so the
- uintptr_t type was only used for local variable/expression types). This could mostly work,
- though it would implicitly truncate on any load of a pointer from the heap which could cause
- subtle semantic bugs if the pointer was storing a non-pointer real-int64 value. It would also
- increase heap usage significantly (for pointer-heavy heaps).
- * So tentatively 'no'.
+* Some code will want to only use 64-bit integers when running on a 64-bit system (for performance
+ reasons) so provide a "has native 64-bit integer" query.
## Threads
* Shared memory