Re: a pre-beginner's question: what is the pros and cons of .net, compared to ++

From: C.E.O. Gargantua (gamers_at_r.lamers)
Date: 01/15/05


Date: Sat, 15 Jan 2005 20:02:29 GMT

lester wrote:

> a pre-beginner's question:
> what is the pros and cons of .net, compared to ++
>
> I am wondering what can I get if I continue to learn C# after I have

They all have the letter *c* in them, but IMHO, they are all completely
different animals!

c: a powerful, near assembly type language, used for everything from the
hardware up through the OS ( Linux is written in Gnu c ).

c++: a hybrid language, somewhere between a procedural and an OO. It's /c/
with OO ideas that extend existing syntax like struct into classes, and so
on. In many ways, c already had the capability to do OO, but c++ exposes
it and makes it clearer. c++ is popular because it is the bedrock of the
Windows API and COM/COM++ programming. If you want to manipulate Windows
natively, Visual c++ was usually the only answer.

c#: We can't talk about c# in a vacuum, because c# is part and parcel
of .Net and all that it implies: managed code. Managed code is a machine
within a machine...it virtualizes the computer like java did, but far more
tightly ( the IL ) which allows it to support such amazing features as
Reflection.Emit and the ILGenerator.

Each of these languages requires a higher level of commitment to the
machinery that supports it...but to say that /c/ is more *advanced*
or /powerful/ than c# is silly. c# gives you the ability to manipulate
the entire computer, whether OSX, Linux or Windows, using an OO model.
That is /very/ powerful. It's so powerful, that people, again IMHO, have
not yet begun to understand it, or use it beyond what they know already.

> learned C --> C++ --> C# ??
>
> I think there must be many know the answer here.
>
> thanks
>
> BR
> ----------------
> Lester

-- 
http://texeme.com
Textcasting Technology


Relevant Pages

  • Re: Last job prints at startup
    ... >> These are jobs that have already been printed. ... Look on the driver info ... >update file - run it BEFORE windows sets its default ... >Lester Stiefel ...
    (microsoft.public.windowsxp.print_fax)
  • Re: web 2.0 ??
    ... lester psigal wrote: ... frameless (with frameless i mean those windows totally without browser ... windows with web content, ... how do those popups technology work? ...
    (alt.html)
  • Re: Help Starting excel from tcl, with spaces in directory path
    ... Gerald W. Lester wrote: ... Nope - still doesn't do the trick... ... I receive a windows error saying "Windows cannot find 'and'"... ...
    (comp.lang.tcl)
  • Re: using 2 clocks in a design
    ... Gerald W. Lester wrote: ... :-) On Unix, this is actually the return value from times, and on Windows it's currently the same as [clock microseconds]. ...
    (comp.lang.tcl)