About Vala: this is almost true (vala is not stable enough for too complex apps), but we can at least rewrite some simple components of LXDE in Vala, for example lxshortcut, which is not perfect yet and need some tweaks (i read on the wiki that a new library - liblxshortcut - as backend for lxshortcut is planned, is a good idea? which other apps will use liblxshortcut?)

On 03/21/2012 05:53 AM, PCMan wrote:
This is quite true. When I'm learning GTK+, I read GtkTreeView tutorial for several times in order to do some simple things with it. Writing GUI apps with GTK+ and plain C is a pain and is really error-prone. Even when you use GtkBuilder, doing operations on GtkTreeView and GtkTreeModal still require a lot of additional work. I'm trying to migrate some parts of LXDE to vala to get more readable code when suitable. Code written in Vala is much much more readable and shorter than that written in plain C. Compile-time type safety and built-in support for dbus are also great features of Vala. So I like it very much.
However, at the moment vala is not that reliable as it looks like.
It sometimes generates wrong C code that cant compile, or something that compiles but causes crashes at runtime. Besides, debugging vala programs requies that you digging into the generate C code which is not readable. Fixing broken vapi files is not of fun at all. Moreover, we don't have the time to rewrite everything in vala.
So, to sum up, there is no silver bullet.
I'll try to look into this this issue weekend. :-(
On Tue, Mar 20, 2012 at 11:31 PM, Axel FILMORE <[email protected] <mailto:[email protected]>> wrote:

    On 20/03/2012 16:03, karl anliot wrote:
    > IMHO the reason this bug hasn't been fixed is people filed the
    bug against PCMANFM not libfm.
    >

    IMHO, this bug hasn't been fixed because GtkTreeView is one of the
    most
    complicated stuff in GTK+ and because it's too complicated to
    write GUI
    softwares in plain C, we really need modern languages like Vala to
    write
    reliable and maintainable softwares.

    :)

    --
    Axel FILMORE


    
------------------------------------------------------------------------------
    This SF email is sponsosred by:
    Try Windows Azure free for 90 days Click Here
    http://p.sf.net/sfu/sfd2d-msazure
    _______________________________________________
    Lxde-list mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/lxde-list




------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure


_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to