-
Luau and Lua have different behavior between numeric field in table for example:
Luau:
```luau
{ 1, [1] = "A" } -- { "A" }
{ [1] = "A", 1 } -- { 1 }
```
Lua:
```lua
{ 1, [1] = "A" } -- { 1 }…
-
In Luau, the difference is smaller than in Lua 5.3 maybe due to fastcall, but there is still a function call overhead, so converting `math.sqrt(x)` to `(x)^.5` may be helpful for (micro) optimization.…
-
Luau support should be considered to bring the framework to a wider group of people. It should be possible to publish the package to the Wally registry without a full rewrite in Luau, by including the…
-
I don't understand where to put the made Roblox scripts. The code doesn't make any sense with what the tutorial is. I would like a video explaining how this works or detailed instructions.
Thank …
-
-
### Guidelines
- [X] I checked for duplicate suggestions
- [X] My suggestion intends to add or improve something
### Version
Development (Unstable)
### Topic
A programming feature (e.g. APIs, twe…
-
Title
-
As of version 0.652, the following code crashes the new solver, regardless of strict mode being used:
```luau
--!strict
type dict = {
read vals: {[string]:number}
}
local _:dict = {
v…
-
As qsv's [domain-specific language](https://en.wikipedia.org/wiki/Domain-specific_language) (DSL), `luau` can be used to create recipes - short reusable, task-oriented, composable, data-wrangling scri…
-
Code:
```lua
function a(n)
return a(n)
end
a(19283)
```
Rust-side code:
```rust
let lua = Lua::new_with(
LuaStdLib::ALL_SAFE,
LuaOptions::new().catch_rust_pa…