Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: <1989lzhh@gmail.com> X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'example:': 0.03; 'english.': 0.04; 'syntax': 0.04; 'compiler': 0.07; 'variables': 0.07; 'function,': 0.09; 'instance.': 0.09; 'rewrite': 0.09; 'run,': 0.09; 'runtime': 0.09; 'suggestions.': 0.09; 'to:addr:pobox.com': 0.09; 'to:addr:skip': 0.09; 'url:github': 0.09; 'translate': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'def': 0.12; 'b):': 0.16; 'extension,': 0.16; 'follow-up': 0.16; 'backend': 0.19; 'import': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'compilation': 0.24; 'skip': 0.24; 'specify': 0.24; 'looks': 0.24; 'compiled': 0.26; 'extension': 0.26; 'possibly': 0.26; 'post': 0.26; 'defined': 0.27; 'header:In-Reply- To:1': 0.27; 'function': 0.29; 'primarily': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'code': 0.31; 'run': 0.32; 'quite': 0.32; 'url:python': 0.33; 'could': 0.34; 'convert': 0.35; 'plans': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'add': 0.35; 'done': 0.36; 'url:listinfo': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'wrong': 0.37; 'received:10': 0.37; 'message- id:@gmail.com': 0.38; 'list,': 0.38; 'does': 0.39; '12,': 0.39; "couldn't": 0.39; 'structure': 0.39; 'url:mail': 0.40; 'first': 0.61; 'complete': 0.62; 'header:Message-Id:1': 0.63; 'here': 0.66; 'quality': 0.72; 'charset:gb2312': 0.80; 'chinese,': 0.84; 'comment.': 0.84; 'decorate': 0.84; 'received:10.44': 0.84; 'good,': 0.91; 'cc:addr:none': 0.93; 'instant': 0.97; 'subjectcharset:gb2312': 0.99 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=JcRM31A1UMHtos3cFF068OIyusrGSvb7wJfSpSZHI58=; b=yE1JTbSg/JmAWkYd3vf4xUHefCH1cPvFQx7mdERFeDMmHh8SNLUGlPqpA1W6FCwq4y VJogpm/MUtxMIwQ99rDirqBXEBVlIseWLNAUm9tWpvUnxq5yBD63MI6TXL2jFQP6bRKS jBmVEddjuv/Zr4lzDcjpUOFKtmolmM0SLddJFKRaCCVzuVtW8ZNE95mxt6VIKX5AY6Yz LmkvfNCG9uc5rtYI1tMg4z+aBXeTRHS4LWIhSj/i07w+dSa4I4JeUNNJN5yMxmMtiQFS qw4Q43Zp/JBZD3d8cbaceEvI4sWwteUEd7x0icllk+aZhIDotsrmviIkEmrI7TjLKuye +NbQ== X-Received: by 10.68.180.65 with SMTP id dm1mr7830122pbc.142.1402530641280; Wed, 11 Jun 2014 16:50:41 -0700 (PDT) References: Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable X-Mailer: iPhone Mail (11D201) From: 1989lzhh <1989lzhh@gmail.com> Subject: =?GB2312?Q?Re:_=BB=F9=D3=DAcython=B5=C4=BC=B4=CA=B1=B1=E0=D2=EB?= =?GB2312?Q?=C6=F7cyjit=A3=AC=BB=B6=D3=AD=B4=F3=BC=D2=CC=E1=BD=A8?= =?GB2312?Q?=D2=E9?= Date: Thu, 12 Jun 2014 07:50:31 +0800 To: Skip Montanaro Cc: mm0fmf , Python X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 58 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1402530644 news.xs4all.nl 2927 [2001:888:2000:d::a6]:48273 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73190 =D4=DA Jun 12, 2014=A3=AC1:16=A3=ACSkip Montanaro =D0=B4=B5= =C0=A3=BA >> You might say that but I couldn't possibly comment. >=20 > You could run the message through Google Translate. It's not > publication quality translation, but serves the needs in this > instance. (Gmail offers to translate the OP's message for me.) >=20 > Here's what GT produced (successfully translates the Chinese, but > destroys the code structure in the process - what's wrong with those > people at Google? ): Thanks skip, I post the email into wrong mail list, I will rewrite it into E= nglish. :) >=20 >> I'm writing a cython code using the compiler as a backend instant named c= yjit, the python code >> Convert cython code is then compiled c extension import. Designed primari= ly reference numba. jit ideas, >> Use decorate to specify compile function, for example: >> from cyjit import jit >> @ Jit ('int (int, int)') >> def add (a, b): >> return a + b >> add (1,2) # compiled >>=20 >> @ Jit ('int (int, int)', >> locals =3D'' ' >> int c >> '' ') >> def add1 (a, b): >> c =3D add (a, b) # fast invoked >> return c >> add1 (1,2) >>=20 >> Currently does not support the type of derivation, C syntax to use local v= ariables defined manually. >> Jit compilation process is done in the function of Follow-up plans to mov= e to complete the compilation process runtime functions to achieve overloadi= ng. >> Currently supports compilation cache, you need to compile the first run, s= lower time, Run again compiled directly into the extension, the speed very q= uickly. >>=20 >> Welcome to fork, pull, and suggestions. >>=20 >> https://github.com/liuzhenhai/ cyjit The translation's quality is quite good, I will edit it and post here again.= Thanks >=20 > The concept looks like of interesting. >=20 > Skip > --=20 > https://mail.python.org/mailman/listinfo/python-list