Threads in LC

Richard Gaskin ambassador at fourthworld.com
Tue Jan 5 16:38:19 EST 2021


JeeJeeStudio wrote:

 > i will experiment some more and else continue with the Puthon version.

Both Python and LiveCode are single-threaded.

IIRC, Python offers parallelism as a programming style, but unless 
you're using one of the special builds I don't believe it offers true 
concurrency (though both can handle concurrent tasks through 
multiprocessing).

This may be helpful here: how would you approach this in Python?

I wonder if we can tailor an LC approach to more closely resemble it, or 
at very least arrive at a language feature proposal to give us 
parallelism within a single-thread like Python does.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list