Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #108629

Re: Calling python from C with OpenMP

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Newsgroups comp.lang.python
Subject Re: Calling python from C with OpenMP
Date Fri, 13 May 2016 20:04:36 -0400
Organization IISS Elusive Unicorn
Lines 17
Message-ID <mailman.656.1463184279.32212.python-list@python.org> (permalink)
References <8224bdd2-9afe-487b-804b-f3b88dee2028@googlegroups.com> <1288606789484790413.405054sturla.molden-gmail.com@news.gmane.org> <mailman.618.1463097878.32212.python-list@python.org> <91ea4bb0-2d34-4a27-8b18-640c79712f64@googlegroups.com> <4cb4d566-709d-1139-b515-2eb3cdbbbc9a@mrabarnett.plus.com> <mailman.637.1463159537.32212.python-list@python.org> <2a0461ad-fd4c-4ffa-9a4a-b1bf2a21b6cf@googlegroups.com> <0nqcjbh34gb68vpp9nchi9vl4mqq6qgn2g@4ax.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 8bit
X-Trace news.uni-berlin.de lbxa3FvAPVZUWkzGkCm7lQuFd9u4dposmv7vghqLiQwA==
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'cpython': 0.05; 'message- id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; 'subject:python': 0.14; "(it's": 0.16; '(when': 0.16; '2016': 0.16; '>in': 0.16; 'gil...': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'url:home': 0.18; 'work,': 0.21; 'tried': 0.24; 'header:X-Complaints-To:1': 0.26; 'fri,': 0.27; 'tend': 0.27; 'gil': 0.29; "i'm": 0.30; 'maybe': 0.33; 'point': 0.33; '-0700': 0.33; 'problem.': 0.35; 'but': 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'does': 0.39; 'subject:from': 0.39; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'still': 0.40; 'else.': 0.66; 'here': 0.66; 'dennis': 0.91; 'received:108': 0.93
X-Injected-Via-Gmane http://gmane.org/
X-Gmane-NNTP-Posting-Host adsl-108-68-179-201.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 6.00/32.1186
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <0nqcjbh34gb68vpp9nchi9vl4mqq6qgn2g@4ax.com>
X-Mailman-Original-References <8224bdd2-9afe-487b-804b-f3b88dee2028@googlegroups.com> <1288606789484790413.405054sturla.molden-gmail.com@news.gmane.org> <mailman.618.1463097878.32212.python-list@python.org> <91ea4bb0-2d34-4a27-8b18-640c79712f64@googlegroups.com> <4cb4d566-709d-1139-b515-2eb3cdbbbc9a@mrabarnett.plus.com> <mailman.637.1463159537.32212.python-list@python.org> <2a0461ad-fd4c-4ffa-9a4a-b1bf2a21b6cf@googlegroups.com>
Xref csiph.com comp.lang.python:108629

Show key headers only | View raw


On Fri, 13 May 2016 13:16:58 -0700 (PDT), Øystein Schønning-Johansen
<oysteijo@gmail.com> declaimed the following:

>In addition to the fact that it still does not work, what you here point out, is the main problem. I actually think I'm giving up for now. Maybe I'm able to solve this later.... (when python does not use a GIL anymore...?)
>
	It's been tried -- but the non-GIL implementations tend to be slower at
everything else.

	I don't think Jython uses a GIL... (it's only the baseline C-based
Python [aka CPython -- not be confused with Cython] that uses the GIL as I
recall).


-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Calling python from C with OpenMP oysteijo@gmail.com - 2016-05-12 12:28 -0700
  Re: Calling python from C with OpenMP Sturla Molden <sturla.molden@gmail.com> - 2016-05-13 00:04 +0000
    Re: Calling python from C with OpenMP Øystein Schønning-Johansen <oysteijo@gmail.com> - 2016-05-13 09:22 -0700
      Re: Calling python from C with OpenMP MRAB <python@mrabarnett.plus.com> - 2016-05-13 18:12 +0100
        Re: Calling python from C with OpenMP Øystein Schønning-Johansen <oysteijo@gmail.com> - 2016-05-13 13:16 -0700
          Re: Calling python from C with OpenMP Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-05-13 20:04 -0400
            Re: Calling python from C with OpenMP Paul Rubin <no.email@nospam.invalid> - 2016-05-13 19:09 -0700

csiph-web