It all depends on your definition of "really light".
At one end of the spectrum is Assembly Language. That's gonna be pretty
light.
At the other end is Java and .Net, both of which require a very complex
runtime.
In the middle somewhere is C and C++. These two arean't always as light as
they seem - there are all sorts of runtime libraries needed depending on the
environment in which you're running.
I don't really know where Python sits, but it's probably somewhere closer to
Java and .NET than Assembly language.
--
Chris Mullins
"IsRaEl" <yz****@gmail.comwrote in message
news:11*********************@m73g2000cwd.googlegro ups.com...
Sooo..
To write really light apps i should do it directly with C++ or maybe
Python??
Greg Young wrote:
>You are not actually _using_ 7mb of memory there ... memory is allocated
in
chunks ... you then instantiate objects using bits of these chunks.. When
the application starts up it gets memory for you to use.
You also have the overhead in the runtime to contend with. Quite simply
C#
is the wrong tool to write a program with 600k of overhead.
Cheers,
Greg
"IsRaEl" <yz****@gmail.comwrote in message
news:11**********************@d34g2000cwd.googleg roups.com...
Hello Everyone..
Why when i build a REAAALY simples Console app with C#, when i compile
using the realese method and execute, it already occupies almost 7mb of
memory???
as simple as that!!
for(int i = 0; i<= 1000; i++)
for(int j = 0; j<= 1000; j++)
Console.WriteLine(i + "." + j);
How to make realy light programs...like some Google programs that use
600kb...
Thanks!