From: PCMan <pcm...@gm...> - 2009-10-31 03:25:49
|
There is no strict guidelines for LXDE programs. However, almost all of the programs in LXDE are written in C + shell scripts only. So, maybe it's the right time to get this issue settled as LXDE is now growing. The following are my personal opinions, not guidelines: 1. Core components should be written in C + shell script only and keep dependencies at minimum. 2. When speed and responsiveness is very important for a frequently used program, it should be written in C. 3. Background services, daemons, or programs running for long time should be in C and keep memory usage at minimum. 4. Short-lived programs, such as configurators or some rarely used program, can be in other languages and speed is not an issue. So don't waste time to optimize them since the cost and benefit are out of proportion. 5. Optional components could be in other languages if they are not frequently used or executed all the time. 6. If a program written in other languages can have high speed, low memory usage, and low dependencies, it can be included. For your case, I think python is quite OK since this program is optional and it's not a critical part of the desktop. Python + pygtk is a good choice since it's almost always included in most modern distros and the performance is acceptable. Dependencies could be an issue on smaller systems, though. Using Mono and Java, however, is apparantly against our project goals. :-) On Sat, Oct 31, 2009 at 7:57 AM, Thomas Spura <sp...@st...> wrote: > Hi, > > I started writing a 42-line python lxdm-configurator attached to this > mail. > > At first, this raises the question, if you want to add python programms > or 'just' C programms… Do you want to include python? > > The current drawback of my programm is, that it deletes out commented > lines. > > Thomas > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Lxde-list mailing list > Lxd...@li... > https://lists.sourceforge.net/lists/listinfo/lxde-list > > |