Am I a bad programmer?

Pages: 12
I don't know if it runs on all four, I assume it's only a single process/thread so in that case it probably only runs on one core at a time.
It must be, did we even have multi-core in 2001? I was a little out of touch in those days, my 135 mega-hert Gateway200 did everything I needed.
No, the first multi-core processors on desktops appeared in 2005 AFAIK (although they probably existed in the server, mainframe and supercomputer markets before then).
Hyper Threading appeared in 2002 but some people might see that as cheating :P.

Multi-Threading in the kind of game programming that most of us do is of pretty limited usefulness. If you plan for the fewest number of interactions between threads, so as to have the fewest points of failure, then you end up with the primary thread running everything, a thread controlling the music and if you're industrious a thread managing resources loaded in memory. The later two threads comparably lightweight tasks that could easily be tossed into the primary thread with little or no loss in speed.
Last edited on
Topic archived. No new replies allowed.
Pages: 12