On Mon, Aug 21, 2006 at 01:07:56AM +0300, guy keren wrote:
> On Sat, 2006-08-19 at 19:39 -0700, Tracy R Reed wrote:
> > Gabriel Sechan wrote:
> > > Until you start buying my hardware for me, performance does matter, and 
> > > C/C++ is the correct language to use- for everything.  The correct answer 
> > > is 
> > > to use a tool to layout the UI elements, and have it create the C code to 
> > > place the elements.
> > 
> > But you would be unable to tell the difference in performance between a
> > GUI written in C/C++ vs a GUI written in Python. What you would notice
> > is bugs and higher cost due to more developer time needed. Since there
> > is no noticeable performance difference why would you want the GUI coded
> > in C/C++?
> 
> because a single computer now runs not one program - but hundreads of
> programs. the problem with modern developers is that they tend to forget
> this.
> 
> and, surprisingly enough, even large C programs now tend to be complete
> memory hogs - see firefox/mozilla, evolution, KDE (and its hundreads of
> utilities), gnome, etc.
> 
> imagine how they'd look if they were written in a scripting language ;)
> we'll be unable to open more then one application at a time.
> 

What is your basis for saying that? At our shop on the M$ servers, no
more than one strategic service is run per server because things lock up
and interact, and no one wants to bounce a box with one zombie and other
important services running. So we're not getting any mileage out of the
boxes at all ... and it's been that way in most of the shops I've
worked in. Everybody expects VMWare to change all that, but I have as
yet to see it.

On POSIX boxes, the first perl program, to pick one, loads the perl
interpreter and all the other perl apps and services use the same block
of code. Not that much different from shared C libraries. The scripts
themselves don't consume that much memory, and most scripting languages
are capable of compiling to byte code.

I don't have any numbers, but I wonder if you do. When I think about
it I can't see much reason to expect that the footprint of several
concurrent scripted apps in the same language would have a much larger
footprint than several C++ programs. I do know that I frequently will
have five or six Tcl/Tk apps running simultaneously without any apparent
dump to VM. Open Office, OTOH (a C++ program IIRC) dims the lights in
the house and emits ozone when it loads.

Does anyone have any real data on this?

> i'm not talking about java and dot net - with them, there's an
> assumption of a single-ask computer to begin with.
> 

I talk about Java and .NET as little as possible, too.

-- 
Lan Barnes
Linux Guy, SCM Specialist     
Tcl/Tk Enthusiast 

Keep away from people who belittle your ambitions. Small people 
always do that, but the really great, make you feel that you too 
can become great.
                                  - Mark Twain

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to