[Python-Dev] Coroutines (PEP 342)

2005-11-14 Thread Bruce Eckel
uld or wouldn't work). Thanks. Bruce Eckel ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Pythonic concurrency

2005-10-13 Thread Bruce Eckel
ctober 13, 2005, 8:36:21 AM, Michael Hudson wrote: > Bruce Eckel <[EMAIL PROTECTED]> writes: >> Not only are there significant new library components in >> java.util.concurrent in J2SE5, but perhaps more important is the new >> memory model that deals wit

Re: [Python-Dev] Pythonic concurrency

2005-10-11 Thread Bruce Eckel
m because of that. But I think we need something that supports an object-oriented approach to concurrency that doesn't prevent beginners from using it safely. Bruce Eckel ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/ma

Re: [Python-Dev] Pythonic concurrency

2005-10-10 Thread Bruce Eckel
r explanation of cache coherency and memory barriers in multiprocessor machines? Or explain atomicity, volatility and visibility? Or, even better, maybe you can come up with a better concurrency model, which is what I think most of us are looking for in this discussion. Bruce Eckelhttp://www.B

Re: [Python-Dev] Sandboxed Threads in Python

2005-10-08 Thread Bruce Eckel
be even come up with a list of possible solutions. Bruce Eckelhttp://www.BruceEckel.com mailto:[EMAIL PROTECTED] Contains electronic books: "Thinking in Java 3e" & "Thinking in C++ 2e" Web log: http://www.artima.com/weblogs/index.jsp?blogger=beckel Subscribe to my ne

Re: [Python-Dev] Pythonic concurrency

2005-10-07 Thread Bruce Eckel
ime they might theoretically be able to write a program that is as fast or faster using their threading mechanism, but it would be so hard by comparison that they'll either never get it done or never be sure if it's reliable. That's what I'm looking for. Bruce Eckelhttp://

[Python-Dev] Pythonic concurrency

2005-10-07 Thread Bruce Eckel
onkey wrenches. And when you start studying the new memory model, which takes into account instruction reordering and cache coherency issues, you realize that it's mind-numbingly far from trivial. Or maybe not, for those who think it's easy. But my experience is that the people who re

Re: [Python-Dev] Pythonic concurrency

2005-10-06 Thread Bruce Eckel
Bruce, > On Thursday 06 October 2005 18:12, Bruce Eckel wrote: >> Although I hope our conversation isn't done, as he suggests! > ... >> At some point when more ideas have been thrown about (and TIJ4 is >> done) I hope to summarize what we've talked about in an article. &

[Python-Dev] Pythonic concurrency

2005-10-06 Thread Bruce Eckel
've talked about in an article. Bruce Eckelhttp://www.BruceEckel.com mailto:[EMAIL PROTECTED] Contains electronic books: "Thinking in Java 3e" & "Thinking in C++ 2e" Web log: http://www.artima.com/weblogs/index.jsp?blogger=beckel Subscribe to my newsletter: http://

Re: [Python-Dev] Pythonic concurrency - cooperative MT

2005-09-30 Thread Bruce Eckel
tion might require both. That wouldn't be my ideal. My ideal would be a single solution that would scale up to large numbers of concurrency units, and that wouldn't require the programmer to remember to explicitly yield control. Whether my ideal is possible is a question I'd like t

Re: [Python-Dev] Pythonic concurrency

2005-09-29 Thread Bruce Eckel
then that is often a reasonable solution. So with concurrency, I would like to know when I do something wrong, but if I am told at runtime that's OK with me as long as I'm told. Bruce Eckelhttp://www.BruceEckel.com mailto:[EMAIL PROTECTED] Contains electronic books: "Thin

Re: [Python-Dev] Pythonic concurrency

2005-09-29 Thread Bruce Eckel
ct setting for transactional memory." What's not clear to me from this is whether STM will work in a non-declarative language like Python. Thursday, September 29, 2005, 8:12:23 AM, Michael Hudson wrote: > Bruce Eckel <[EMAIL PROTECTED]> writes: >> I'd like to resta

[Python-Dev] Pythonic concurrency

2005-09-29 Thread Bruce Eckel
: for "ordinary" non-OO tasks, a functional programming approach ala Erlang, in combination with an actor approach for objects. Bruce Eckelhttp://www.BruceEckel.com mailto:[EMAIL PROTECTED] Contains electronic books: "Thinking in Java 3e" & "Thinking in C++ 2e&

Re: [Python-Dev] Active Objects in Python

2005-09-27 Thread Bruce Eckel
\\\V/// |-- http://twistedmatrix.com >|o O|| > wvw-+ > _______ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailma

[Python-Dev] Active Objects in Python

2005-09-27 Thread Bruce Eckel
According to this list's welcome message, I should introduce myself. I'm Bruce Eckel, I write, consult and give seminars about computer programming, I use Python whenever I can get away with it, and I've spoken at Pycon a number of times. There are further URLs in my signature at t