Michael Bayer wrote:
> Hi Matt -
> 
> On May 21, 2006, at 5:04 PM, Matt Goodall wrote:
> 
>>
>> Thread-based systems are by no means impossible but they're a lot 
>> more difficult to get right, as Michael's comments confirm.
>>
>> I wouldn't be at all surprised if there are still some lurking 
>> problems in Myghty.
>>
>> Concurrency can be hard even with event based systems; threads 
>> generally make it harder.
>>
> 
> will decline the bait on myghty. 

No bait intended, honestly! Sorry it was taken like that but, to be
honest, I can see why now I read it back ;-).

My comment on Myghty was meant as nothing more than a comment on how
hard it is to know **for sure** in **any library** that there are no
thread-related problems left.

> not sure if youre saying "event  based
> systems are harder to write if they use threads", or if  "threaded
> programming is harder than non-threaded event-based  programming".  if
> the latter id say its a matter of what youre used to.

What I really meant is that threaded programs are harder to debug and
harder to "prove" correct.

Like I said, concurrency can be hard. Working in an (purely) event-based
system means that you at least know a bit of code you're writing of
debugging is not going to get pre-empted by another thread in the same
process.


- Matt

-- 
     __
    /  \__     Matt Goodall, Pollenation Internet Ltd
    \__/  \    w: http://www.pollenation.net
  __/  \__/    e: [EMAIL PROTECTED]
 /  \__/  \    t: +44 (0)113 2252500
 \__/  \__/
 /  \          Any views expressed are my own and do not necessarily
 \__/          reflect the views of my employer.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to