Perkel
Arcane
- Joined
- Mar 28, 2014
- Messages
- 16,242
I didn't know know he was an MIT grad, and in math at that. Huh. So I wonder if the performance issue is just due to having no multi threading, and Tarn doesn't want to go and refactor? From a quick search Dwarf Fortress started in 2002, and is written in C++. C++ didn't get multi-threading until C++ 11, which released in 2011. To add multi-threading he'd need to refactor 9 year old code. I can see the reluctance, I barely want to work with code I wrote last week.
As far as Tarn said anything there are only some things that are multithreaded not related to simulation.
Problem is in what you said refactoring nearly 15 years old code to include properly jobs and locks is by itself huge task that would take a lot of time.