r/ProgrammerHumor • • 1h ago

Meme blueScriptForBonk

162 Upvotes

25 comments sorted by

View all comments

Show parent comment

9

u/Lanse012 52m 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)