Movatterモバイル変換
[0]ホーム
[Python-Dev] Re: marking shared-ness
Tim Peterstim_one@email.msn.com
Tue, 25 Apr 2000 02:25:36 -0400
[Greg Stein]> ...> Many people have asked for free-threading, and the number of inquiries> that I receive have grown over time. (nobody asked in 1996 when I first> published my patches; I get a query every couple months now)Huh! That means people ask me about it more often than they ask you <wink>.I'll add, though, that you have to dig into the inquiry: almost everyonewho asks me is running on a uniprocessor machine, and are really after oneof two other things:1. They expect threaded stuff to run faster if free-threaded. "Why?" is a question I can't answer <0.5 wink>.2. Dealing with the global lock drives them insane, especially when trying to call back into Python from a "foreign" C thread.#2 may be fixable via less radical means (like a streamlined procedureenabled by some relatively minor core interpreter changes, and clearerdocs).I'm still a fan of free-threading! It's just one of those things that mayyield a "well, ya, that's what I asked for, but turns out it's not what I*wanted*" outcome as often as not.enthusiastically y'rs - tim
[8]ページ先頭