Multi-threading support in language

Previous topic - Next topic

Schranz0r

I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Kitty Hello

GCC has no multithreading. It's the POSIX or Winodws library that has. And I have that wrapped in the attached project. It's multiplatform, yes.

MrTAToad

So all the graphics, sound etc can be done in a seperate thread ?  Or would it be best to limit it to logic and associated stuff ?

Kitty Hello

it would be best to ignore threads wherever you can. Honestly.
If you want physics in anouther thread, so that. But be aware of the overhead you create.

bigsofty

So OK to use or not to use?  :doubt:

I have been using threads with other languages for years, I'm pretty sure I would only use them in the right situation IF its OK to use them.

Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)