556
DF General Discussion / Re: We can end the lag forever!
« on: December 09, 2009, 09:08:26 pm »
I think you're unclear on what an emulator is, otherwise you wouldn't be using the term. I think you don't realize that I understand exactly what you're trying to ask and that what I said in my first post would be the only effective way to do it short of having the source code. I think you lack the research to realize why it's not possible. I think that you should probably do that research before you try to correct me.
Put simply: you cannot "trick" four separate instruction units into operating on one sequential string of instructions when later instructions require the results from the earlier ones. It doesn't work that way.
I suggest you go learn how to program and how modern computers work, then come back.
Toady no doubt has plans to multithread Dwarf Fortress at some point. I doubt that this "idea" is helpful, as restructuring a program for multithreading is a nontrivial task when you have the source code. It isn't like the graphics system where he could just spin it off into a separate project so people could hack on it. The perf benefits from multithreaded programming would come from core systems, not little pieces. He's said many times he doesn't want to open-source important parts, for a number of reasons.
Put simply: you cannot "trick" four separate instruction units into operating on one sequential string of instructions when later instructions require the results from the earlier ones. It doesn't work that way.
I suggest you go learn how to program and how modern computers work, then come back.
Toady no doubt has plans to multithread Dwarf Fortress at some point. I doubt that this "idea" is helpful, as restructuring a program for multithreading is a nontrivial task when you have the source code. It isn't like the graphics system where he could just spin it off into a separate project so people could hack on it. The perf benefits from multithreaded programming would come from core systems, not little pieces. He's said many times he doesn't want to open-source important parts, for a number of reasons.