Movatterモバイル変換


[0]ホーム

URL:


[Thread-SIG] Re: [Python-Dev] Re: marking shared-ness

gvwilson@nevex.comgvwilson@nevex.com
Fri, 21 Apr 2000 13:27:49 -0400 (EDT)


> On Fri, 21 Apr 2000, Sean Jensen_Grey wrote:>http://www.cs.bris.ac.uk/~alan/javapp.html> Take a look at the above link. It merges the Occam model with Java and uses> 'channel based' interfaces (not sure exactly what this is).Channel-based programming has been called "the revenge of the goto", asin, "Where the hell does this channel go to?"  Programmers must manageconversational continuity manually (i.e. keep track of the origins ofmessages, so that they can be replied to).  It also doesn't really helpwith the sharing problem that started this thread: if you want a sharedinteger, you have to write a little server thread that knows how to actlike a semaphore, and then it read/write requests that are exactlyequivalent to P and V operations (and subject to all the same abuses). Oh,and did I mention the joys of trying to draw a semi-accurate diagram ofthe plumbing in your program after three months of upgrade work?*shudder*Greg


[8]ページ先頭

©2009-2025 Movatter.jp