[Suggestion] Drop python for lua

Other platforms, generic questions.
Post Reply
fin

[Suggestion] Drop python for lua

Post by fin »

How about dropping python and using embedded lua for searches instead? It would allow the use of search without a 3rd party (python) library/program installed, just embed the tiny lua interpreter into qbt.
Dayman

Re: [Suggestion] Drop python for lua

Post by Dayman »

I'll bump this, because this would be much easier to embed lua than python (which can't be fully embedded anyway).
loki

Re: [Suggestion] Drop python for lua

Post by loki »

I agree with this too, if anything it should make lighter weight dependency wise. I don't use search anyway.
Dayman

Re: [Suggestion] Drop python for lua

Post by Dayman »

So.. Who can write a search engine (at least for TPB) with lua + luasocket + luasec (yes, we need https too)?
Last edited by Dayman on Tue Jul 23, 2013 2:50 pm, edited 1 time in total.
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: [Suggestion] Drop python for lua

Post by sledgehammer_999 »

It won't make it more lightweight. We don't distribute python anyway.

Also I think the search plugins use python standard libs functionality which may not be available in lua.

The only "problem" is with Windows people. And not really a problem if they just install python. Why waste coding hours on this, when we can invest it on something else?
Dayman

Re: [Suggestion] Drop python for lua

Post by Dayman »

[quote="sledgehammer_999"]
Why waste coding hours on this, when we can invest it on something else?
[/quote]

I know nothing about coding in lua, that's why I'm asking if anybody else can do it.

[quote="sledgehammer_999"]
Also I think the search plugins use python standard libs functionality which may not be available in lua.
[/quote]

lua has 3rd party libraries too, just like python.
loki

Re: [Suggestion] Drop python for lua

Post by loki »

hmm, given your most recent post/stance sledge...
I mostly being a Windows user of qB, don't have python installed... so therefore don't use any features (search) that requires it. Never had any problems searching through a web browser...
However, for other Windows users who do use, or wish to use search functions it would likely mean installing another "program" however trivial this may be, just to have "complete functionality" of which SHOULD IT NOT have out of the box, so to speak...?

On linux versions python is a listed dependency (i.e. required).
Post Reply