How to embed a native JIT compiler to a django app?

Etienne Robillard tkadm30 at yandex.com
Sun Jan 28 15:09:35 EST 2018


Hi Stephane,

Thank you for your reply. As you suggested, I believe my approach was 
too complex. So I decided to replace Cython with PyPy in order to enable 
experimental support of JIT compilation for my Python/Django web 
applications.

Best regards,

Etienne


Le 2018-01-28 à 08:32, Stephane Wirtel via Python-list a écrit :
> On 01/27, Etienne Robillard wrote:
>> Hi,
>>
>> I want to compile a Django application into a C source file and embed 
>> a JIT compiler into the binary. Is there any way of doing this with 
>> llvm/clang?
>
> Hi Etienne,
>
> I think no, Django will use Python and this one is interpreted.
> Answer, no...
>
> Now, you could try to create a wheel file with your django project and
> try that, but it is really complex.
>
> Why do you want to package a Django app into a C file with a compiler?
>
>
>
>

-- 
Etienne Robillard
tkadm30 at yandex.com
https://www.isotopesoftware.ca/




More information about the Python-list mailing list