Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Dual-Core Programming?

Name: Anonymous 2006-12-12 2:05

Anyone know of a good language that can run with 2 processors? I've heard of stacking Python as a way to do it, but is there anything else? Is C# able to do such a thing?

Name: Anonymous 2006-12-19 16:22

>>2
wat?

Programming languages typically dont handle multithreaded-ness inherantly because it does not make any sense to do so. Threads are an operating system feature, a bit like pipes, sockets and other concepts.

C++ handles threading fine, most of the applications I write at work are multithreaded, we use a class wrapped around the API that exposes a run function and some other useful functions. With that encapsulation you just spawn threads through the creation of thread objects and communicate with whatever IPC mechanism you wish (mutexes, semaphores, queues, whatever..)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List