From c8af786b101cd384e0d74e8e53d504115d19869a Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Tue, 15 Jun 2021 19:05:27 -0700 Subject: [PATCH] Update compatibility.md We decided that we can't enforce strict limits for insert/remove based on analysis of Roblox games --- docs/_pages/compatibility.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_pages/compatibility.md b/docs/_pages/compatibility.md index 4b698d4..7439938 100644 --- a/docs/_pages/compatibility.md +++ b/docs/_pages/compatibility.md @@ -90,7 +90,7 @@ Ephemeron tables may be implemented at some point since they do have valid uses | new function `table.move` | ✔️ | | | `collectgarbage("count")` now returns only one result | ✔️ | | | `coroutine.isyieldable` | ✔️ | | -| stricter error checking for `table.insert`/`table.remove` | 🔜 | we're evaluating compatibility implications +| stricter error checking for `table.insert`/`table.remove` | 😞 | we love this, but it breaks compatibility It's important to highlight integer support and bitwise operators. For Luau, it's rare that a full 64-bit integer type is necessary - double-precision types support integers up to 2^53 (in Lua which is used in embedded space, integers may be more appealing in environments without a native 64-bit FPU). However, there's a *lot* of value in having a single number type, both from performance perspective and for consistency. Notably, Lua doesn't handle integer overflow properly, so using integers also carries compatibility implications.