Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.python Subject: Re: Does Python Need Virtual Threads? (Posting On Python-List Prohibited) Date: Sun, 15 Jun 2025 14:33:28 -0700 Organization: A noiseless patient Spider Lines: 8 Message-ID: <87plf41yhj.fsf@nightsong.com> References: <102isqb$3v5j0$2@dont-email.me> <8734c236kc.fsf@nightsong.com> <102kvhu$fjtb$1@dont-email.me> <87y0tt23uh.fsf@nightsong.com> <102la8c$l3km$5@dont-email.me> <87tt4g21nr.fsf@nightsong.com> <102nc7v$14c9g$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Sun, 15 Jun 2025 23:33:29 +0200 (CEST) Injection-Info: dont-email.me; posting-host="2a04d5e3eba1820d18252a00ba55fc77"; logging-data="1213704"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GGLUh7HUGg7WyweJTYX9g" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:On8lqkg4wWFKzguaT3Q9NjB2Tmw= sha1:jlNUb3OwoqJGm6uuygtvQLmXE0M= Xref: csiph.com comp.lang.python:197518 Lawrence D'Oliveiro writes: >> Let's see how CPython holds up with a million OS threads running. > Linux can already run hundreds of thousands of processes/threads To misquote Austin Powers, "one MILLLLLION threads". Here Erlang does it in less than 1GB of memory: https://hauleth.dev/post/beam-process-memory-usage/