Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-25 Thread Etienne Robillard
Is it possible to wrap Django API into public C methods in Cython? I'm thinking I could define a few functions in my libdjango.pyx typically used for Django administration. What do you think? Etienne Le 2018-01-24 à 06:26, Etienne Robillard a écrit : Hi Jason, Le 2018-01-24 à 06:11, Jason

Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-24 Thread Etienne Robillard
Hi Jason, Le 2018-01-24 à 06:11, Jason a écrit : I'm curious about this to, but am struggling to see the use case for this.  Could you elaborate on how you'd use something like this, and its expected benefits? The goal would be to use faster C code for accessing Django internal api. Then I

Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-24 Thread Jason
I'm curious about this to, but am struggling to see the use case for this. Could you elaborate on how you'd use something like this, and its expected benefits? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-24 Thread Avraham Serour
please try and share your findings, I'm sure I'm not the only one curious about this On Wed, Jan 24, 2018 at 11:21 AM, Etienne Robillard wrote: > Hi Avraham > > On Tuesday, 23 January 2018 17:18:19 UTC-5, Avraham Serour wrote: >> >> Did you try doing this and see what

Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-24 Thread Etienne Robillard
Hi Avraham On Tuesday, 23 January 2018 17:18:19 UTC-5, Avraham Serour wrote: > > Did you try doing this and see what happens? > Not yet. But I presume I could just use the libdjango.so shared library as a replacement for the django package? Regards, Etienne > > On 23 Jan 2018 9:56 PM,

Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-23 Thread Avraham Serour
Did you try doing this and see what happens? On 23 Jan 2018 9:56 PM, "Etienne Robillard" wrote: > Can I create a file named libdjango.pyx with the following code: > > {{{ > > import django > > from django import * > > }}} > > Then compile the C file with gcc to access django

Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-23 Thread Etienne Robillard
Can I create a file named libdjango.pyx with the following code: {{{ import django from django import * }}} Then compile the C file with gcc to access django in C ? Etienne Le 2018-01-23 à 04:32, Etienne Robillard a écrit : Hi, I would like to know if it would be possible to

How to autoGenerate C bindings for Django 1.11 ?

2018-01-23 Thread Etienne Robillard
Hi, I would like to know if it would be possible to autogenerate C bindings for the whole Django package in Cython or similar extension. What do you think? :) Cheers, Etienne -- Etienne Robillard tkad...@yandex.com https://www.isotopesoftware.ca/ -- You received this message because you