Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3]

Author Topic: Parallel Processing  (Read 3955 times)

tolkafox

  • Bay Watcher
  • Capitalism, ho!
    • View Profile
    • Phantasm
Re: Parallel Processing
« Reply #30 on: May 20, 2011, 12:03:09 pm »

That he says it would be difficult does not make it so.

Except for the fact that he's the one coding it, so it does make it so. If it's difficult to him then it's difficult, Toady missed that class on sharing and doesn't share his code lightly.

That's like asking a mason to share his trade secrets for a cookie. Won't happen.
Logged
It was a miracle of rare device, A sunny pleasure-dome with caves of ice!

lordnincompoop

  • Bay Watcher
  • Allusionist
    • View Profile
Re: Parallel Processing
« Reply #31 on: May 20, 2011, 03:26:03 pm »

That he says it would be difficult does not make it so.

Except for the fact that he's the one coding it, so it does make it so. If it's difficult to him then it's difficult, Toady missed that class on sharing and doesn't share his code lightly.

That's like asking a mason to share his trade secrets for a cookie. Won't happen.

Reworded for clarity: "That he says it would be difficult may make it difficult for him, but it does not make the task itself universally difficult."

Now that I look it over, I actually disagree with this statement. Multithreading is something that you have to plan from the very start of a project, and if you want to implement it in an already existing program it will be excruciatingly painful for all but the best built programs and the smartest programmers. Additionally, the inherent difficulty of a task is irrelevant; what matters is the difficulty that it poses to the person that will be doing it.
Logged

ferok

  • Bay Watcher
    • View Profile
Re: Parallel Processing
« Reply #32 on: May 20, 2011, 04:55:03 pm »

Multithreading is something that you have to plan from the very start of a project, and if you want to implement it in an already existing program it will be excruciatingly painful for all but the best built programs and the smartest programmers.

I assume that you'd not like me to rehash why that statement is not necessarily true.  That's a very general view of multithreading and may be the case here, but we cannot know since we cannot evaluate the source.

That he says it would be difficult may make it difficult for him, but it does not make the task itself universally difficult.
That's actually not what I said.  I didn't specify for whom it was difficult.  What I mean is that just because someone says something will be hard (for them), does not mean it will be hard (for them).  Maybe it will, maybe it wont.  Programmers often get intimidated by the concept of threading, but threading isn't always complex and oftentimes can be completely abstracted. Has it been attempted?  No idea.  I assume he's done some work, but perhaps the angle of approach is wrong.  Or perhaps he was using the wrong tool.  You can mow a lawn with a weedwacker, but it will be difficult (for you).  If you use a mower, it'll be less difficult (for you).

Just an example.
Logged

tolkafox

  • Bay Watcher
  • Capitalism, ho!
    • View Profile
    • Phantasm
Re: Parallel Processing
« Reply #33 on: May 21, 2011, 12:00:48 am »

? Have you asked him?
Logged
It was a miracle of rare device, A sunny pleasure-dome with caves of ice!
Pages: 1 2 [3]