2015-12-26 12:50 GMT+01:00 Stanislav Baiduzhyi <[email protected]>:

> On Sat, Dec 26, 2015 at 8:48 AM, Simon Lees <[email protected]> wrote:
> > Hi,
> >
> > I presume your asking because python is your stronger language, if thats
> > the case yes the python bindings are in reasonable shape. epymc is a
> > decent sized application written in python and there are a couple of
> > smaller ones such as Lekha epymc and epad, all of which are reasonable
> > and show the bindings are capable if you want to go that way and find it
> > easier.
> >
> > In terms of issues to watch for the main one I found was that most parts
> > of efl including its event loop will want to run in the main thread,
> > which if you have other libs that would normally want to do that could
> > cause issues. It took a while for me to get a websockets lib that would
> > play ok with it.
> >
> > I haven't done alot of efl development with either python or C++ in my
> > day job i'm a Qt programmer but I maintain enlightenment in openSUSE for
> > fun so I don't think i'm that biased.
>
>
> Hi Simon,
>
> Thanks for your reply! And huge thanks for maintaining openSUSE
> packages as well, they inspired me to switch to terminology and start
> learning EFL.
>
> I've been reading some docs yesterday and have more specific questions
> now...
>
> First of all, I am familiar with dispatch thread for UI from Java and
> Qt, both of them provide some instruments to submit events (or signals
> or just Callables) into dispatcher. I am almost certain there should
> be something similar in EFL, but what about python-elementary?
>
> Also, there is Efreet and Eio, don't know how useful are they atm but
> description is promising, are they also included in bindings or are
> those bindings Elementary-only?
>

Hi,
the python bindings are not elementary-only, but do not cover 100% of the
efl api for various reasons:
1. lots of the efl stuff are not needed in py (Efreet is an example, as
python-xdg yet cover that area)
2. lacks of dev time (Eio is an example here)

So if you choose python for your filemanager you will need to do the
filesystem operations in a thread,
as you don't have access to Eio.
Here you can find some inspiration:
https://github.com/DaveMDS/epymc/blob/master/epymc/plugins/filemanager/filemanager.py
this is a 2 panes filemanager plugin for the epymc mediacenter, written in
python-efl using threads.

Choosing the language to use in your case is not an easy choice, at the end
I would say:

* If your goal is to play/learn with the efl and have something work in a
short time go for the python
way, python is a lots simpler than C, and the python-efl documentation are
better then the C one.

* If, instead, you plan to end up with a "serious" filemanager I would
choose C, mainly for
speed reason, C is around 30 times faster than python. And a filemanager
really need to be
as fast as possible.

regards


>
> Regards,
> Stanislav
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to