Le 10/18/2011 07:00 AM, PCMan a écrit :
>
> I'm now thinking about future development.
> Since dbus support is now part of glib and nowadays dbus is widely
> adopted, 
> maybe it's time to replace our own hand-made IPC with dbus and make
> use of dbus more in LXDE.
> It's possible to use dbus inside menu-cache and in the session manager.
> PCManFM might also use it for IPC and to provide some interfaces to
> other applications.
It's IMO a must have, at least on lxsession. D-Bus is now a standard
accros all desktop environment.

> The second issue is the use of C++ in LXDE. Currently we mainly use C
> and in the future there might be vala.
> Doing programming in pure C is quite inefficient and error-prone on
> memory management sometimes.
> In C++, things can be better encapsulated if it's used carefully.
> There also exists some very high quality libraries, such as boost and
> some tools provided by google.
> Using C++ inside LXDE only introduces one additional runtime lib,
> libstdc++6.so.
> So actually I'm considering the possibility of using C++ in PCManFM.
> Implement some new features with C++ will be much easier than doing it
> with pure C.
> With C++, the development can be more rapid and we can utilize many
> nice existing libs.
> Later, I'll try to use C++ inside PCManFM is feasible and will do some
> experiments in git branches.
> Of course, the program should be kept as fast as old versions and
> memory usage cannot significantly increase.
> Otherwise, I won't use it.
As Christoph said, let's finish pcmanfm first, before trying such move.

Personally, I don't see many advantages to move to C++. I fear there
will be more disadvantages than real gains.
One rewrite (C to C++) I have in mind is compiz, and the result was not
very pretty (lose of devs, not more stable, not so many new features ...).

Regards,
Julien Lavergne


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to