I am writing a simple python code for a very task which some of the best minds i guess are working on? Anyways. I have a really powerful desktop 8cores (16 virtual cores). I want to write a program whcih can find the distinct words in the whole corpus of words. Or think of other task like things like word frequency counts. Though map-reduce stuff works great for distributed framework. Is there a way to make use of all the cores of your processor? that is multicore execution of code.
Or maybe this. if i have to do the following:
def hello_word():
print "hello world!"
and instead of python hello_world.py i want to run this hello_world.py using all the cores of my processor. what changes will i make.? Thanks