>> Performance is a serious concern so no
>> Python, no Java. I just want my application (at least the CLI)
>> run as fast as possible.

As someone who uses Java a whole lot and Python fairly often, I'd advise you
to be wary of discounting languages as being too slow just because they run
on a VM and/or are interpreted. If you're doing something extremely CPU
intensive (like graphics processing or something), C/C++ would probably be
the right choice. But if you're just worried about CLI interaction for a
"normal" program, I don't think you're really going to see much of a
performance difference between C and a VM-based language on a modern
machine. And I think you could make a strong argument that things like
automatic memory management (and better syntax? /me ducks) can help lower
errors and raise maintainability in your code, which might be worth a small
performance tradeoff.

Of course, I have no idea what your project deals with... maybe C is the
right choice. Or if you just want to learn the language, no better way than
writting some code in it, eh?

Just my two cents.

-Rob


On Thu, May 8, 2008 at 10:33 AM, Huan Truong <[EMAIL PROTECTED]> wrote:

> Thanks for all your suggestions.
>
> I'd say I will go with C / C++. Performance is a serious concern so no
> Python, no Java. I just want my application (at least the CLI) run as
> fast as possible. And learning serious C programming might be useful
> in the future. One more question: If I wanted to port my application
> which uses something like libavahi to Windows, can all of them compile
> sucessfully on Cygwin?
>
> About the GUI: I'd rather write separate GUI later on whichever
> language but I really want to avoid languages like Python or Java. I
> knew Qt is very flexible in terms of platform support which is really
> a big plus. However, Qt applications feel 'cheap'  on both Windows and
> MacOS (and even on linux - it doesn't feel as good as GTK
> applications, there is a HUGE space waste). My question is: can
> libglade be as flexible as Qt? I heard something like WxWiget, which
> was used to create FileZilla, how about that?
>
> - Huan.
>
>
>
> On Thu, May 8, 2008 at 9:57 AM, Robert Dickerson <[EMAIL PROTECTED]>
> wrote:
> > >> As for creating GTK interfaces, I recommend glade-2.
> >
> > Is there any reason you don't recommend glade-3 instead of glade-2? I've
> > just recently started playing around with glade-3 (I've never used any
> other
> > version), and so far I like it pretty well. I understand 3 is a complete
> > rewrite, though -- is 2 better in some way?
> >
> >
> >
> > On Wed, May 7, 2008 at 9:36 PM, Donald J Bindner <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > On Wed, May 07, 2008 at 05:11:27PM -0500, Huan Truong wrote:
> > > > Hi all,
> > > >
> > > > As the summer break is drawing near and I think I will have some
> spare
> > > > weeks sitting at home so I decided to learn to program in linux,
> > > > specifically how to (1) create a GNOME GTK application, (2) pack it
> > > > for some architectures for debian (amd64 and i386) and (3) put it
> with
> > > > some other required packages on a repo.
> > >
> > > If you want to package something for distributions (including
> > > Ubuntu) then presumably you'll want to read the Debian
> > > developers' materials.  I studied to be a Debian developer for a
> > > while, so I think I can say with some authority that there is
> > > plenty to learn.   It would be great to have someone current on
> > > the topic around here though (I'm a bit rusty these days).
> > >
> > > As for creating GTK interfaces, I recommend glade-2.  It allows
> > > you to draw your interfaces interactively and then sort of "hook
> > > them" to your program.  I personally have been writing my Gnome
> > > applications in Perl mostly, but you can do C and other languages
> > > as well.
> > >
> > > If you want to really join the free software world, you'll
> > > eventually want to learn C.  It's like the King's English,
> > > everyone knows some.  Unix and C are like conjoined twins, they
> > > just go together.
> > >
> > > Don
> > >
> > > --
> > > Don Bindner <[EMAIL PROTECTED]>
> > >
> > >
> > >
> > >
> > > -----------------------------------------------------------------
> > > To get off this list, send email to [EMAIL PROTECTED]
> > > with Subject: unsubscribe
> > > -----------------------------------------------------------------
> > >
> > >
> >
> >
>
>
>
> --
> "Ubuntu" is an ancient African word, meaning "Slackware is too hard for
> me".
> http://tnhh.info/
>
> -----------------------------------------------------------------
> To get off this list, send email to [EMAIL PROTECTED]
> with Subject: unsubscribe
> -----------------------------------------------------------------
>
>

Reply via email to