Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #73181
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <skip.montanaro@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; 'syntax': 0.04; 'compiler': 0.07; 'variables': 0.07; 'function,': 0.09; 'instance.': 0.09; 'run,': 0.09; 'runtime': 0.09; 'suggestions.': 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; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; 'sender:addr:gmail.com': 0.17; 'backend': 0.19; 'import': 0.22; 'cc:addr:python.org': 0.22; 'compilation': 0.24; 'skip': 0.24; 'specify': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'compiled': 0.26; 'extension': 0.26; 'possibly': 0.26; 'defined': 0.27; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'primarily': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'run': 0.32; '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; 'wrong': 0.37; 'does': 0.39; "couldn't": 0.39; 'structure': 0.39; 'first': 0.61; 'complete': 0.62; 'subjectcharset:utf-8': 0.72; 'quality': 0.72; 'chinese,': 0.84; 'comment.': 0.84; 'decorate': 0.84; 'subject:8bit%:81': 0.84; 'instant': 0.97; 'to:addr:none': 0.97 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=FCVdJTSxCdMXEfkyhXnbVSpE1KVnm/ThutVCd0yws10=; b=pifzmcEGVjC7qDDpwUht1858MHPn8l2/x/2vWdIYgCFt4/tGYqhjM4YjuUrPa4Inl+ dbcFRX2kfalF/KZ0iS0xz7h6//5E71i9PeMlZqnOAOD3Pe8PrbxODDJcdgLmi0Y58TmA Aow3FcO21MiMeDxtUemdtYlUtJBejbg7oG8C5bhuN6462b3SmGkckIgurpHj7+miuTRp eO+ZskzQenTyCdHUyDwiEjmKH5M5xA7U1DVdpVE2HsYZ0ep/TPExjdwNrlXlnt0eJYBC azsXus2PKHHECsZC8+7BdzTI+ulB/2w1nyfef5rFxDLY5vJAG9SOBEZL84MCgyHaTXuS rvEQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.23.17 with SMTP id i17mr18455397igf.6.1402507019681; Wed, 11 Jun 2014 10:16:59 -0700 (PDT) |
| Sender | skip.montanaro@gmail.com |
| In-Reply-To | <Xh%lv.308109$Ch2.69303@fx13.am4> |
| References | <mailman.11006.1402484547.18130.python-list@python.org> <Xh%lv.308109$Ch2.69303@fx13.am4> |
| Date | Wed, 11 Jun 2014 12:16:59 -0500 |
| X-Google-Sender-Auth | Dh-lAT854byoDPw1FrmpXwipQ5k |
| Subject | Re: 基于cython的即时编译器cyjit,欢迎大家提建议 |
| From | Skip Montanaro <skip@pobox.com> |
| To | mm0fmf <none@mailinator.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | Python <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.11015.1402507023.18130.python-list@python.org> (permalink) |
| Lines | 39 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1402507023 news.xs4all.nl 2960 [2001:888:2000:d::a6]:60392 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:73181 |
Show key headers only | View raw
> You might say that but I couldn't possibly comment.
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.)
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? <wink>):
> I'm writing a cython code using the compiler as a backend instant named cyjit, the python code
> Convert cython code is then compiled c extension import. Designed primarily 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
>
> @ Jit ('int (int, int)',
> locals ='' '
> int c
> '' ')
> def add1 (a, b):
> c = add (a, b) # fast invoked
> return c
> add1 (1,2)
>
> Currently does not support the type of derivation, C syntax to use local variables defined manually.
> Jit compilation process is done in the function of Follow-up plans to move to complete the compilation process runtime functions to achieve overloading.
> Currently supports compilation cache, you need to compile the first run, slower time, Run again compiled directly into the extension, the speed very quickly.
>
> Welcome to fork, pull, and suggestions.
>
> https://github.com/liuzhenhai/ cyjit
The concept looks like of interesting.
Skip
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
基于cython的即时编译器cyjit,欢迎大家提建议 1989lzhh <1989lzhh@gmail.com> - 2014-06-11 17:37 +0800
Re: 基于cython的即时编译器cyjit,欢迎大家提建议 mm0fmf <none@mailinator.com> - 2014-06-11 17:16 +0100
Re: 基于cython的即时编译器cyjit,欢迎大家提建议 Skip Montanaro <skip@pobox.com> - 2014-06-11 12:16 -0500
Re: 基于cython的即时编译器cyjit,欢迎大家提建议 1989lzhh <1989lzhh@gmail.com> - 2014-06-12 00:50 +0800
Re: 基于cython的即时编译器cyjit,欢迎大家提建议 1989lzhh <1989lzhh@gmail.com> - 2014-06-12 07:50 +0800
csiph-web