Re: LuaJIT - an alternative for current Python C bindings

2012-11-16 Thread Florian Weimer
On 11/15/2012 07:44 PM, Alek Paunov wrote: LuaJIT is currently not available for our secondary architectures, so this would need fixing first. (not available meaning exactly that, there is no fallback to a slow C interpreter mode or something like that.) Oh, I completely forgot the

Re: LuaJIT - an alternative for current Python C bindings

2012-11-15 Thread Florian Weimer
On 11/15/2012 01:49 AM, Alek Paunov wrote: So, to me it seems natural joining all above together to start thinking for replacing the classic python C bindings with thin textual or bytecode(*) LuaJIT/FFI shims in benefit of things with great set of dependencies like Anaconda (thanks to lupa, Lua

Re: LuaJIT - an alternative for current Python C bindings

2012-11-15 Thread drago01
On Thu, Nov 15, 2012 at 12:18 PM, Florian Weimer fwei...@redhat.com wrote: On 11/15/2012 01:49 AM, Alek Paunov wrote: So, to me it seems natural joining all above together to start thinking for replacing the classic python C bindings with thin textual or bytecode(*) LuaJIT/FFI shims in

Re: LuaJIT - an alternative for current Python C bindings

2012-11-15 Thread drago01
On Thu, Nov 15, 2012 at 2:18 PM, drago01 drag...@gmail.com wrote: On Thu, Nov 15, 2012 at 12:18 PM, Florian Weimer fwei...@redhat.com wrote: On 11/15/2012 01:49 AM, Alek Paunov wrote: So, to me it seems natural joining all above together to start thinking for replacing the classic python C

Re: LuaJIT - an alternative for current Python C bindings

2012-11-15 Thread Alek Paunov
Hi Florian, On 15.11.2012 13:18, Florian Weimer wrote: On 11/15/2012 01:49 AM, Alek Paunov wrote: So, to me it seems natural joining all above together to start thinking for replacing the classic python C bindings with thin textual or bytecode(*) LuaJIT/FFI shims in benefit of things with

LuaJIT - an alternative for current Python C bindings (was: Re: raising warning flag on firewalld-default feature)

2012-11-14 Thread Alek Paunov
On 12.11.2012 21:34, Steve Grubb wrote: But the problem I see is a lot of libraries are wrapped by swig, which leaks memory like a sieve. If swig didn't generate such leaky code, Python based daemons wouldn't be as scary. IMHO, Python is one of the best ways to express management logic. As

Re: LuaJIT - an alternative for current Python C bindings (was: Re: raising warning flag on firewalld-default feature)

2012-11-14 Thread M. Edward (Ed) Borasky
How much Python code are you proposing someone ports to Lua? ;-) On Wed, Nov 14, 2012 at 4:49 PM, Alek Paunov a...@declera.com wrote: On 12.11.2012 21:34, Steve Grubb wrote: But the problem I see is a lot of libraries are wrapped by swig, which leaks memory like a sieve. If swig didn't

Re: LuaJIT - an alternative for current Python C bindings

2012-11-14 Thread Alek Paunov
On 15.11.2012 04:51, M. Edward (Ed) Borasky wrote: How much Python code are you proposing someone ports to Lua? ;-) I am proposing mostly porting C code to Lua/FFI (the code of the problematic Python C bindings) -- devel mailing list devel@lists.fedoraproject.org