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

Liste des GroupesRevenir à cu programmer 
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, 11:19:10
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v9shqt$2bn73$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
User-Agent : Mozilla Thunderbird
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.

If you think
otherwise please give some examples. However I distincly remember trying to
port  server to windows only to discover that sockets are some wierd
structure in windows instead of a simple file descriptor meaning it was
impossible to multiplex using poll() or select() on them, you had to have
a seperate thread to manage each connection. What a fucking mess designed
by idiots.
There is no problem using socket select with Windows. Here is an implementation of a server doing that:
    http://www.dmitry-kazakov.de/ada/components.htm#17.1
You can check the Windows implementation of to learn how it is done with Windows sockets.

Historically UNIX started with singe fork() call. There was nothing but
files, no system objects, nothing.
 fork() copies the entire process space. No idea what you mean by "system
objects". Must be some windows thing.
Objects managed by the OS.

On the other hand, Windows NT was developed by people influenced with
the VMS design. VMS had a very elaborated process communication API. So
Windows inherited much of that, but must importantly the concept of
system resources managed by the OS.
 Windows NT was a slow unreliable dog.
It is not slow. Actually you can get same or better performance under Windows as under Linux. The problem is the default settings of the scheduling time interval. It is 10ms by default. Set it to 1ms and you will see the difference. Unfortunately 1ms is the hard limit. If you want it better, OK, there is VxWorks where you can go under 1ms.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

Date Sujet#  Auteur
13 Apr 24 * Re: I did not inhale253Stefan Ram
13 Apr 24 `* Re: I did not inhale252Stefan Ram
15 Aug 24  `* Re: I did not inhale251Kalevi Kolttonen
16 Aug 24   `* Re: Python (was Re: I did not inhale)250Lawrence D'Oliveiro
16 Aug 24    +* Re: Python (was Re: I did not inhale)246Kaz Kylheku
16 Aug 24    i`* Re: Python (was Re: I did not inhale)245Kalevi 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)66Muttley
17 Aug 24    i i+* Re: Python (was Re: I did not inhale)63Dmitry A. Kazakov
17 Aug 24    i ii+* Re: Python (was Re: I did not inhale)60Lawrence D'Oliveiro
18 Aug 24    i iii`* Re: Python (was Re: I did not inhale)59Dmitry A. Kazakov
18 Aug 24    i iii +* Re: Python (was Re: I did not inhale)15Muttley
18 Aug 24    i iii i`* Re: Python (was Re: I did not inhale)14Dmitry A. Kazakov
18 Aug 24    i iii i `* Re: Python (was Re: I did not inhale)13Muttley
18 Aug 24    i iii i  +* Re: Python (was Re: I did not inhale)11Dmitry 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)6Sebastian
25 Aug 24    i iii i  i `* Re: Python (was Re: I did not inhale)5Dmitry 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)1James Kuyper
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)36Lawrence D'Oliveiro
19 Aug 24    i iii  `* Re: Python (was Re: I did not inhale)35Dmitry A. Kazakov
19 Aug 24    i iii   +* Re: Python (was Re: I did not inhale)24David Brown
19 Aug 24    i iii   i`* Re: Python (was Re: I did not inhale)23Dmitry 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)14David Brown
20 Aug 24    i iii   i i`* Re: Python (was Re: I did not inhale)13Dmitry 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 i`* Re: Python (was Re: I did not inhale)6Dmitry A. Kazakov
20 Aug 24    i iii   i i i +* Re: Python (was Re: I did not inhale)2David Brown
20 Aug 24    i iii   i i i i`- Re: Python (was Re: I did not inhale)1Dmitry A. Kazakov
21 Aug 24    i iii   i i i `* Re: Python (was Re: I did not inhale)3Lawrence D'Oliveiro
21 Aug 24    i iii   i i i  `* Re: Python (was Re: I did not inhale)2Dmitry A. Kazakov
22 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)2James Kuyper
21 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 ii`- Re: Python (was Re: I did not inhale)1Eric Pozharski
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)176David Brown
18 Aug 24    i  +* Re: Python (was Re: I did not inhale)4Keith Thompson
19 Aug 24    i  i+- Re: Python (was Re: I did not inhale)1David Brown
20 Aug 24    i  i`* Re: Python (was Re: I did not inhale)2James Kuyper
20 Aug 24    i  i `- Re: Python (was Re: I did not inhale)1Keith Thompson
20 Aug 24    i  `* Re: Python (was Re: I did not inhale)171Kalevi 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)164David Brown
20 Aug 24    i   i`* Re: Python (was Re: I did not inhale)163Kalevi Kolttonen
21 Aug 24    i   i +* Re: Python (was Re: I did not inhale)155David Brown
21 Aug 24    i   i i+* Re: Python (was Re: I did not inhale)136Muttley
21 Aug 24    i   i ii`* Re: Python (was Re: I did not inhale)135David Brown
21 Aug 24    i   i ii `* Re: Python (was Re: I did not inhale)134Muttley
21 Aug 24    i   i ii  `* Re: Python (was Re: I did not inhale)133David Brown
21 Aug 24    i   i ii   `* 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
22 Aug 24    i   i ii     `* Re: Python (was Re: I did not inhale)130Muttley
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)123David Brown
22 Aug 24    i   i ii       +* Re: Python (was Re: I did not inhale)114Muttley
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