KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
What is your opinion regarding a project that will try to take a code and split it to threads automatically(maybe compile time, probably in runtime). Take a look at the code below: for(int i=0;i<100;i++) sum1 += rand(100) for(int j=0;j<100;j++) sum2 += rand(100)/2 This kind of code can automatically get split to 2 different threads that run in parallel. Do you think it's even possible? I have a feeling that theoretically it's impossible (it reminds me the halting problem) but I can't justify this thought. Do you think it's a useful project? is there anything like it?
Tags (comma-separated)
Save Edits
Cancel