Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: "Forth is Sudoku for programmers" Date: Sun, 14 Aug 2016 14:09:31 -0700 Organization: A noiseless patient Spider Lines: 9 Message-ID: <87ziofukfo.fsf@jester.gateway.pace.com> References: <1e1c16c6-300f-4c4f-8590-379029478232@googlegroups.com> <8cb43dc0-f642-442f-b2ce-72650caa544b@googlegroups.com> <37e2ee67-95ab-4f05-9f30-30c4e89059ab@googlegroups.com> <9f9b8329-a9c7-4eee-a09c-cdae3b30ae68@googlegroups.com> <007681f6-8931-4f83-9b38-1ab0741d663b@googlegroups.com> <4ca2cd93-3d8a-4d6f-8fa5-c50b68bbf286@googlegroups.com> <57ae8058$0$292$14726298@news.sunsite.dk> <50343a03-5565-4931-8025-1668726797c6@googlegroups.com> <065b6c2a-66ea-4f31-998d-e50f6b9ebd7e@googlegroups.com> <1f719a0d-3e81-48d3-8a49-ae06b189babe@googlegroups.com> <878tw1xi2y.fsf@jester.gateway.pace.com> <57af05e8$0$303$14726298@news.sunsite.dk> <43c75549-01ee-4b62-bad5-21596ff0ad95@googlegroups.com> <87k2fkvtmv.fsf@jester.gateway.pace.com> <20160814195734.1e0e87d5@maxa-pc> <878tvzw6z7.fsf@jester.gateway.pace.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx02.eternal-september.org; posting-host="afb9df5a762ad8974cbd7e506bdf03a5"; logging-data="28241"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/H27BIs3Q5NyChHNoj7Hq" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:3s+1EvCXhZZSGKbAeZzSu7c5WaY= sha1:PZ8EaXMn+zfDS1fYbev1DeEAqPc= Xref: csiph.com comp.lang.forth:50101 lawrencedo99@gmail.com writes: > That may apply to pure Python code, but it doesn’t need to apply to > extension modules written in C. In these, you can release the GIL Yes, I know about that, and it helps some of the time (I think numpy does that). I meant the interpreter has to hold the GIL while running Python code. For occasional CPU-intensive stuff I do in Python, I can usually split up the problem and run multiple Python instances on different cores, but the GIL is still a big wart on Python.