Liste des Groupes | Revenir à cl c |
On Wed, 1 May 2024 10:59:16 +0200, Bonita Montero wrote:It can be if your thread synchronization scheme is sub par. I have actually seen code where an IOCP completion thread locks a global mutex. Something like this pseudo-code:
Am 01.05.2024 um 10:53 schrieb Lawrence D'Oliveiro:No, it is actually mostly C, with Rust making inroads these days.
>On Wed, 1 May 2024 10:13:03 +0200, Bonita Montero wrote:>
>Am 01.05.2024 um 09:10 schrieb Lawrence D'Oliveiro:>
>On Wed, 1 May 2024 06:54:13 +0200, Bonita Montero wrote:>
>Boost.ASIO does that all for you with a convenient interface.>
If enabled it even uses io_uring or the Windows' pendant.
How many languages does it support?
Just C++ ...
Not much use, then.
System-level programming is mostly made with C++.
And you don’t have to be doing “system-level” programming to be needing
event-driven paradigms.
No they aren’t. You cannot easily define a C++ function that returns aBut functions and classes are not first-class objects in C++, ...>
Of course, since C++11.
general function or class as a result, just for example.
Remember, we’re talking about maximizing I/O throughput here, so CPU isYou cannot define function factories and class factories, like you can>
in Python.
Python is nothing for me since it is extremely slow.
not the bottleneck.
Les messages affichés proviennent d'usenet.