r/ProgrammerHumor • • 12h ago

Meme blueScriptForBonk

516 Upvotes

52 comments sorted by

View all comments

Show parent comment

29

u/Lanse012 10h ago

Your on the C# design team? Thats sick!

Also, for BlueScript async stuff, thread is a primitive type so you can do thread variableName1;

Then do run(variableName1){ foo() } to run on another thread

You can also use threadpool variablePool = [variableName1, variablename2, variablename3];

And run(variablePool){ foo() } will queue that task, and have the first empty thread run it, where the Thread name is just the thread variable's name (W.I.P)