Re: Native JIT compiler for Django?

2018-01-28 Thread Etienne Robillard
Django-hotsauce is a high-performance toolkit for Django. Using Cython under the hood is really a good method to optimize standard Django applications, but I want to investigate how JIT and PyPy can further improve performances beyond Cython. Le 2018-01-28 à 11:14, Jani Tiainen a écrit : So

Re: Native JIT compiler for Django?

2018-01-28 Thread Etienne Robillard
Hi Jani, I agree. I'm really not interesting in "fixing" bad code. I work with open-source grade only softwares like Django. :) Cheers, Etienne Le 2018-01-28 à 08:30, Jani Tiainen a écrit : Hi. 28.1.2018 3.10 ip. "Etienne Robillard" >

Re: Native JIT compiler for Django?

2018-01-28 Thread Jani Tiainen
Hi. 28.1.2018 3.10 ip. "Etienne Robillard" kirjoitti: Hi Jason, Please don't read me wrong. I want to allow my users to optimize the efficiency of Python/Django web applications using JIT. And thats the catch. You can easily write code that is slow and no language, no JIT

Re: Native JIT compiler for Django?

2018-01-28 Thread Etienne Robillard
Hi Jason, Please don't read me wrong. I want to allow my users to optimize the efficiency of Python/Django web applications using JIT. Cheers, Etienne Le 2018-01-28 à 07:55, Jason a écrit : What I get from you, Etienne, is that you think this is a cool area to look into, but don't have

Re: Native JIT compiler for Django?

2018-01-28 Thread Jason
What I get from you, Etienne, is that you think this is a cool area to look into, but don't have anything else aside from that suspect coolness factor to apply to your proposal. Besides, this thing you said above I don't want to optimize my code manually except with machine-compiled >

Re: Native JIT compiler for Django?

2018-01-28 Thread James Bennett
You have not really provided an argument, though. Programmers generally do not just do a thing for the sake of doing the thing, even if it's a "neat" thing. They do a thing because they have a need for that thing. We turn to things that can speed up our programs once we have determined that some

Re: Native JIT compiler for Django?

2018-01-28 Thread Etienne Robillard
The reason I want to use a JIT compiler for running embedded Django applications is this: "More recently, developers began pioneering a new field in dynamic compilation called trace compiling, or tracing. During compilation into the intermediate language, the compiler can mark the branches

Re: Native JIT compiler for Django?

2018-01-28 Thread Jani Tiainen
Hi, So what is your motivation to even try to make Python(and thus Django to convert it to C code (or run it on top of something like LLVM)? Is there some part which is too slow in your application? Are you even sure that doing things that Django does would even be faster when compiling it to

Re: Native JIT compiler for Django?

2018-01-28 Thread Etienne Robillard
Hi Jani, I don't want to optimize my code manually except with machine-compiled instructions. Cheers, Etienne Le 2018-01-28 à 03:12, Jani Tiainen a écrit : Hi Why you even want to add such a complexity? Have you measured what part in your apps are really slow? Have you tried to

Re: Native JIT compiler for Django?

2018-01-28 Thread Jani Tiainen
Hi Why you even want to add such a complexity? Have you measured what part in your apps are really slow? Have you tried to optimize your python code before trying such an extreme actions? 27.1.2018 9.04 ip. "Etienne Robillard" kirjoitti: > Hi, > > I would like to know if

Native JIT compiler for Django?

2018-01-27 Thread Etienne Robillard
Hi, I would like to know if it's possible to compile Django code with a JIT compiler to a C file using LLVM? What do you think? Etienne Etienne Robillard tkad...@yandex.com https://www.isotopesoftware.ca/ -- You received this message because you are subscribed to the Google Groups "Django