Re: Python (was Re: I did not inhale)

Liste des GroupesRevenir à cu shell 
Sujet : Re: Python (was Re: I did not inhale)
De : mailbox (at) *nospam* dmitry-kazakov.de (Dmitry A. Kazakov)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.misc
Date : 18. Aug 2024, 17:13:37
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v9t6jg$2e96d$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
User-Agent : Mozilla Thunderbird
On 2024-08-18 17:45, Muttley@dastardlyhq.com wrote:
On Sun, 18 Aug 2024 12:19:10 +0200
"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> boringly babbled:
On 2024-08-18 10:30, Muttley@dastardlyhq.com wrote:
>
The windows process API is crippled which is why threading is the main
parallel processing method in Windows and has been since 3.0.
>
Threading is the main method because of its performance in a tight
coupled application. Crossing the process borders is very expensive.
 Most (all?) versions of unix use copy-on-write when forking
You seems do not understand that spawning a process is not an issue of interprocess communications. It is synchronization, e.g. events, mutexes which is.

Also shared memory is pretty cheap too.
Again, you need to synchronize in order to access shared objects, not to mention elaboration of such objects, e.g. calling constructors and destructors. With threads there is a linker support in most languages. With processes you are on your own.
In the same library you might find portable implementation of basic communication objects and compare Windows vs Linux vs BSD implementations:
    http://www.dmitry-kazakov.de/ada/components.htm#12

No idea what the pages of all that crap is.
Hmm, if you ever dealt with networking applications you should have had some idea...

Windows sockets are not integers ,
Windows did many things wrong, but accessing file descriptors by numbers is beyond even Windows. In Windows a file is an OS object. You access it getting an opaque handle to. Note that a handle can be marshaled from one process to another. Try that with process-local numbers!

they can't be multiplexed with file
descriptors, pipes etc in a single call.
Of course it can. Windows overlapped I/O supports sockets.

fork() copies the entire process space. No idea what you mean by "system
objects". Must be some windows thing.
>
Objects managed by the OS.
 Like what? Why does the OS need to manage "objects"?
Like a graphic context or a mutex. Things that leak if the process dies unless the OS takes care of.

I'm not talking about now, I was talking about when NT came out. Learn to
read.
Honestly I do not know what you are talking about. The option to change the scheduling interval existed in Windows NT.
If you want to compare Windows vs UNIX API, create a table and list commonly used process communication things. In the cells write the API call. E.g. mutex, pipe, pulse event etc.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

Date Sujet#  Auteur
13 Apr 24 * Re: I did not inhale243Stefan Ram
13 Apr 24 `* Re: I did not inhale242Stefan Ram
15 Aug 24  `* Re: I did not inhale241Kalevi Kolttonen
16 Aug 24   `* Re: Python (was Re: I did not inhale)240Lawrence D'Oliveiro
16 Aug 24    +* Re: Python (was Re: I did not inhale)236Kaz Kylheku
16 Aug 24    i`* Re: Python (was Re: I did not inhale)235Kalevi Kolttonen
16 Aug 24    i +* Re: Python (was Re: I did not inhale)2John Ames
17 Aug 24    i i`- Re: Python (was Re: I did not inhale)1D
17 Aug 24    i +* Re: Python (was Re: I did not inhale)62Muttley
17 Aug 24    i i+* Re: Python (was Re: I did not inhale)59Dmitry A. Kazakov
17 Aug 24    i ii+* Re: Python (was Re: I did not inhale)57Lawrence D'Oliveiro
18 Aug 24    i iii`* Re: Python (was Re: I did not inhale)56Dmitry A. Kazakov
18 Aug 24    i iii +* Re: Python (was Re: I did not inhale)14Muttley
18 Aug 24    i iii i`* Re: Python (was Re: I did not inhale)13Dmitry A. Kazakov
18 Aug 24    i iii i `* Re: Python (was Re: I did not inhale)12Muttley
18 Aug 24    i iii i  +* Re: Python (was Re: I did not inhale)10Dmitry A. Kazakov
18 Aug 24    i iii i  i+* Re: Python (was Re: I did not inhale)2Kaz Kylheku
18 Aug 24    i iii i  ii`- Re: Python (was Re: I did not inhale)1Dmitry A. Kazakov
19 Aug 24    i iii i  i+- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
19 Aug 24    i iii i  i+- Re: Python (was Re: I did not inhale)1Muttley
25 Aug 24    i iii i  i`* Re: Python (was Re: I did not inhale)5Sebastian
25 Aug 24    i iii i  i `* Re: Python (was Re: I did not inhale)4Dmitry A. Kazakov
25 Aug 24    i iii i  i  +* Re: Python (was Re: I did not inhale)2vallor
25 Aug 24    i iii i  i  i`- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
25 Aug 24    i iii i  i  `- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
18 Aug 24    i iii i  `- Re: Python (was Re: I did not inhale)1Richard Kettlewell
18 Aug 24    i iii +* Re: Python (was Re: I did not inhale)2Kenny McCormack
18 Aug 24    i iii i`- Re: Python (was Re: I did not inhale)1Muttley
18 Aug 24    i iii +* Re: Python (was Re: I did not inhale)5Kaz Kylheku
18 Aug 24    i iii i`* Re: Python (was Re: I did not inhale)4Dmitry A. Kazakov
19 Aug 24    i iii i `* Re: Python (was Re: I did not inhale)3Kaz Kylheku
19 Aug 24    i iii i  `* Re: Python (was Re: I did not inhale)2Dmitry A. Kazakov
19 Aug 24    i iii i   `- Re: Python (was Re: I did not inhale)1Kaz Kylheku
19 Aug 24    i iii `* Re: Python (was Re: I did not inhale)34Lawrence D'Oliveiro
19 Aug 24    i iii  `* Re: Python (was Re: I did not inhale)33Dmitry A. Kazakov
19 Aug 24    i iii   +* Re: Python (was Re: I did not inhale)22David Brown
19 Aug 24    i iii   i`* Re: Python (was Re: I did not inhale)21Dmitry A. Kazakov
19 Aug 24    i iii   i +* Re: Python (was Re: I did not inhale)4Muttley
19 Aug 24    i iii   i i`* Re: Python (was Re: I did not inhale)3Dmitry A. Kazakov
19 Aug 24    i iii   i i +- Re: Python (was Re: I did not inhale)1Muttley
30 Sep 24    i iii   i i `- Re: Python (was Re: I did not inhale)1Bozo User
19 Aug 24    i iii   i +* Re: Python (was Re: I did not inhale)12David Brown
20 Aug 24    i iii   i i`* Re: Python (was Re: I did not inhale)11Dmitry A. Kazakov
20 Aug 24    i iii   i i +* Re: Python (was Re: I did not inhale)3Lawrence D'Oliveiro
20 Aug 24    i iii   i i i`* Re: Python (was Re: I did not inhale)2Dmitry A. Kazakov
21 Aug 24    i iii   i i i `- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
20 Aug 24    i iii   i i `* Re: Python (was Re: I did not inhale)7David Brown
20 Aug 24    i iii   i i  `* Re: Python (was Re: I did not inhale)6Dmitry A. Kazakov
20 Aug 24    i iii   i i   +* Re: Python (was Re: I did not inhale)2David Brown
20 Aug 24    i iii   i i   i`- Re: Python (was Re: I did not inhale)1Dmitry A. Kazakov
21 Aug 24    i iii   i i   `* Re: Python (was Re: I did not inhale)3Lawrence D'Oliveiro
21 Aug 24    i iii   i i    `* Re: Python (was Re: I did not inhale)2Dmitry A. Kazakov
22 Aug 24    i iii   i i     `- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
19 Aug 24    i iii   i `* Re: Python (was Re: I did not inhale)4Keith Thompson
19 Aug 24    i iii   i  `* Re: Python (was Re: I did not inhale)3John Ames
20 Aug 24    i iii   i   +- Re: Python (was Re: I did not inhale)1Muttley
20 Aug 24    i iii   i   `- Re: Python (was Re: I did not inhale)1Stefan Ram
19 Aug 24    i iii   +* Re: Python (was Re: I did not inhale)8Lawrence D'Oliveiro
19 Aug 24    i iii   i`* Re: Python (was Re: I did not inhale)7Dmitry A. Kazakov
19 Aug 24    i iii   i +* Re: Python (was Re: I did not inhale)2Keith Thompson
19 Aug 24    i iii   i i`- Re: Python (was Re: I did not inhale)1Dmitry A. Kazakov
20 Aug 24    i iii   i `* Re: Python (was Re: I did not inhale)4Lawrence D'Oliveiro
20 Aug 24    i iii   i  `* Re: Python (was Re: I did not inhale)3Dmitry A. Kazakov
20 Aug 24    i iii   i   +- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
20 Aug 24    i iii   i   `- Re: Python (was Re: I did not inhale)1D
21 Aug 24    i iii   `* Re: Python (was Re: I did not inhale)2vallor
21 Aug 24    i iii    `- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
18 Aug 24    i ii`- Re: Python (was Re: I did not inhale)1Muttley
18 Aug 24    i i`* Re: Python (was Re: I did not inhale)2David Brown
18 Aug 24    i i `- Re: Python (was Re: I did not inhale)1Muttley
18 Aug 24    i `* Re: Python (was Re: I did not inhale)170David Brown
18 Aug 24    i  +* Re: Python (was Re: I did not inhale)2Keith Thompson
19 Aug 24    i  i`- Re: Python (was Re: I did not inhale)1David Brown
20 Aug 24    i  `* Re: Python (was Re: I did not inhale)167Kalevi Kolttonen
20 Aug 24    i   +* Re: Python (was Re: I did not inhale)3Muttley
20 Aug 24    i   i+- Re: Python (was Re: I did not inhale)1Lew Pitcher
20 Aug 24    i   i`- Re: Python (was Re: I did not inhale)1Kalevi Kolttonen
20 Aug 24    i   +* Re: Python (was Re: I did not inhale)160David Brown
20 Aug 24    i   i`* Re: Python (was Re: I did not inhale)159Kalevi Kolttonen
21 Aug 24    i   i +* Re: Python (was Re: I did not inhale)151David Brown
21 Aug 24    i   i i+* Re: Python (was Re: I did not inhale)132Muttley
21 Aug 24    i   i ii`* Re: Python (was Re: I did not inhale)131David Brown
21 Aug 24    i   i ii `* Re: Python (was Re: I did not inhale)130Muttley
21 Aug 24    i   i ii  `* Re: Python (was Re: I did not inhale)129David Brown
21 Aug 24    i   i ii   `* Re: Python (was Re: I did not inhale)128Muttley
21 Aug 24    i   i ii    `* Re: Python (was Re: I did not inhale)127David Brown
22 Aug 24    i   i ii     `* Re: Python (was Re: I did not inhale)126Muttley
22 Aug 24    i   i ii      +* Re: Python (was Re: I did not inhale)6D
22 Aug 24    i   i ii      i+* Re: Python (was Re: I did not inhale)4Muttley
22 Aug 24    i   i ii      ii`* Re: Python (was Re: I did not inhale)3D
22 Aug 24    i   i ii      ii `* Re: Python (was Re: I did not inhale)2Lew Pitcher
22 Aug 24    i   i ii      ii  `- Re: Python (was Re: I did not inhale)1Muttley
22 Aug 24    i   i ii      i`- Re: Python (was Re: I did not inhale)1David Brown
22 Aug 24    i   i ii      `* Re: Python (was Re: I did not inhale)119David Brown
22 Aug 24    i   i ii       +* Re: Python (was Re: I did not inhale)110Muttley
26 Aug 24    i   i ii       i`* Re: Python (was Re: I did not inhale)109John Ames
26 Aug 24    i   i ii       i +- Re: Python (was Re: I did not inhale)1Muttley
26 Aug 24    i   i ii       i `* Re: Python (was Re: I did not inhale)107Lawrence D'Oliveiro
26 Aug 24    i   i ii       i  +* Re: Python (was Re: I did not inhale)103John Ames
27 Aug 24    i   i ii       i  i+- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
27 Aug 24    i   i ii       i  i+- Re: Python (was Re: I did not inhale)1Sebastian
27 Aug 24    i   i ii       i  i`* Re: Python (was Re: I did not inhale)100Richard Kettlewell
26 Aug 24    i   i ii       i  +* Re: Python (was Re: I did not inhale)2Bart
27 Aug 24    i   i ii       i  `- Re: Python (was Re: I did not inhale)1Kaz Kylheku
22 Aug 24    i   i ii       `* Re: Python (was Re: I did not inhale)8Lawrence D'Oliveiro
21 Aug 24    i   i i`* Re: Python (was Re: I did not inhale)18Lawrence D'Oliveiro
21 Aug 24    i   i `* Re: Python (was Re: I did not inhale)7Muttley
21 Aug 24    i   `* Re: Python (was Re: I did not inhale)3Lawrence D'Oliveiro
16 Aug 24    `* Re: Python (was Re: I did not inhale)3Kalevi Kolttonen

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal