well pretty please can you use simple terms i dont quite understand
Parallel Lua: Splits tasks/events onto different cores, good for large systems like room generation
Multithreading: Making multiple threads for the script to run, basically multitasking, should be generally used for simpler and smaller systems.
Look into some YouTube tutorials on parallel Lua and multithreading, it will help you a ton.
i ve looked up but i still dont understand the differences like both of them makes parts of script run simuntanosly
Which terms would you like me to expand on?
- Coroutines enables pseudo-simultaneous execution; code isnât actually running at the same time, itâs just running while other code is paused
- Parallel Luau enables real simultaneous execution via the utilization of CPU cores. Youâll rarely need to use this though
like the asynchronos and parellel s
how do asynchrous actually work that make it unique
since ik luau cant run 2 part of a script at the same times
and the multithreadig (tasking) isnt same as parellel in the work?
âAsynchronousâ is just a term to describe something that doesnât operate synchronously (simultaneously). Coroutines are what you should associate with that term. The âparallelâ in parallel Luau means side-by-side execution (synchronous/simultaneous)