[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Which programming Language



On Fri, 6 Feb 2009 20:45:03 -0600
"Boyd Stephen Smith Jr." <bss@iguanasuicide.net> wrote:

> On Friday 06 February 2009 16:46:13 Nuno Magalhães wrote:
> > The fact that it was developed by MS kinda creeps be but it has been
> > standardized... 
> 
> I understand the distrust of MS, but C# is actually a pretty nice language,
> at least on par with Java.
> 

i wouldn't call java nice. It is strict object oriented but sometimes way too
strict making some things a real pain to achieve, at times having to pipe about
five streams to get what you want.

Another issue with java (not sure about how c# works) is that it gets you used
not to worry about memory usage and clearing memory, you just let the runtime
do the garbage collection, and it can bite you in the ass moving to more
hardware related languages.

Another issue is that both of them are memory hogs. May not be and issue for
single run big applications, but things that need to run constantly shouldn't
be written using these (same goes for python BTW). Take for example wicd-client
and tomboy. Using 15mb real and 215mb shared for wicd-client (python) may be
borderline but 32mb/303mb for tomboy (c#) is a bit extreme.

> > Is it "backward-compatible" with C++?
> 
> No.
> 
> > Would you use it
> > for cross-platform programming?
> 
> C# only compiles to one platform: CLR (Common Language Runtime).  There are 
> implementations of the CLR on a number of platforms, though.

Depends on what cross paltform programing you want to do. For applications such
as jabref (java) it works, for things that need to be efficient I would use
c/c++ with cross platform libraries (wxWidjets is one I like for gui, boost
does a lot of other things, most of the math ones are cross platform)


Reply to: