-
-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Description
I looked into LUAU but couldn't find any information pertaining to this. Does mlua provide a way to interpret a script OP_CODE by OP_CODE?
Example: lets say I wanted to deterministically run lua scripts where I can guarantee the output on any machine, and I assign each opcode a "cost" and have a "max cost" for the script - which all machines respect. How would I go about this with mlua?
I know theres ways to terminate a lua script after x time with LUAU, but even then I cant guarantee determinism because different machines might deviate from how much is actually ran during this window of time.
Thanks in advance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels