.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

another newbie Q - managed code...

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
213 Views, 5 Replies

another newbie Q - managed code...

I am not sure what managed code really means.
I know these modes of programming:
objectARX with C++
.net
VB6/VBA
Lisp

is the .net the only mode that has "managed" code?
Feel free to redirect me to another post, I know this is boring for people that already know it.
I just keep hearing the term and would like to learn what it really means.
thx
James Maeding
Civil Engineer and Programmer
jmaeding - athunsaker - com
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

The short answer is that .NET is the only managed enviroment for those you
list. However...

There appear to be .NET implementations of LISP, which theoretically could
use the .NET API. This is quite different from LISP in AutoCAD.

You can also use native ObjectARX with the /clr flag to work in a (mostly)
managed enviroment; this can be useful when you want to expose a custom
object to managed clients. Visual Studio 2005 with C++/CLI will
considerably blur the line between managed & unmanged code in C++.

VB6/VBA are unmanaged enviroments. However, you can expose managed objects
by enabling them for COM Interop.

Dan

"James Maeding" wrote in message
news:4961681@discussion.autodesk.com...
I am not sure what managed code really means.
I know these modes of programming:
objectARX with C++
.net
VB6/VBA
Lisp

is the .net the only mode that has "managed" code?
Feel free to redirect me to another post, I know this is boring for people
that already know it.
I just keep hearing the term and would like to learn what it really means.
thx
James Maeding
Civil Engineer and Programmer
jmaeding - athunsaker - com
Message 3 of 6
Anonymous
in reply to: Anonymous

so what defines if the code is managed or not?
Does managed mean the IDE interprets something and changes it somehow before runtime?
Is anything that uses the CLR managed?
Thanks a bunch for your comments so far.

J. Daniel Smith
|>The short answer is that .NET is the only managed enviroment for those you
|>list. However...
|>
|>There appear to be .NET implementations of LISP, which theoretically could
|>use the .NET API. This is quite different from LISP in AutoCAD.
|>
|>You can also use native ObjectARX with the /clr flag to work in a (mostly)
|>managed enviroment; this can be useful when you want to expose a custom
|>object to managed clients. Visual Studio 2005 with C++/CLI will
|>considerably blur the line between managed & unmanged code in C++.
|>
|>VB6/VBA are unmanaged enviroments. However, you can expose managed objects
|>by enabling them for COM Interop.
|>
|> Dan
|>
|>"James Maeding" wrote in message
|>news:4961681@discussion.autodesk.com...
|>I am not sure what managed code really means.
|>I know these modes of programming:
|>objectARX with C++
|>.net
|>VB6/VBA
|>Lisp
|>
|>is the .net the only mode that has "managed" code?
|>Feel free to redirect me to another post, I know this is boring for people
|>that already know it.
|>I just keep hearing the term and would like to learn what it really means.
|>thx
|>James Maeding
|>Civil Engineer and Programmer
|>jmaeding - athunsaker - com

James Maeding
Civil Engineer and Programmer
jmaeding - athunsaker - com
Message 4 of 6
Anonymous
in reply to: Anonymous

"James Maeding" wrote

>> I am not sure what managed code really means.

LISP is managed code.

'Managed' generally means that memory management
is taken care of for you. Of course, since you've never
used a programming language where memory is not
managed for you, it's understandable why you would
not know what managed code is.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

"James Maeding" wrote in message news:4961681@discussion.autodesk.com...
I know these modes of programming:
objectARX with C++
.net
VB6/VBA
Lisp

is the .net the only mode that has "managed" code?
Feel free to redirect me to another post, I know this is boring for people that already know it.
I just keep hearing the term and would like to learn what it really means.
thx
James Maeding
Civil Engineer and Programmer
jmaeding - athunsaker - com
Message 5 of 6
Anonymous
in reply to: Anonymous

"James Maeding" wrote

>> I am not sure what managed code really means.

That's probably because that's the only kind of code
you've ever written.

LISP is managed code.
VB is managed code.

'Managed' generally means that memory management
is taken care of for you. Of course, since you've never
used a programming language where memory is not
managed for you (C/C++ for example), it's perfectly
understandable that you may not grasp the concept
underlying managed/unmanged code.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
Message 6 of 6
Anonymous
in reply to: Anonymous

I actually do grasp the concept, and understand the styntax of C and what pointers are and other things, but did not
know thats what managed referred to.
You are right though that my day to day does not expose me to the issue.
Thanks Tony.

Tony Tanzillo
|>"James Maeding" wrote
|>
|>>> I am not sure what managed code really means.
|>
|>That's probably because that's the only kind of code
|>you've ever written.
|>
|>LISP is managed code.
|>VB is managed code.
|>
|>'Managed' generally means that memory management
|>is taken care of for you. Of course, since you've never
|>used a programming language where memory is not
|>managed for you (C/C++ for example), it's perfectly
|>understandable that you may not grasp the concept
|>underlying managed/unmanged code.

James Maeding
Civil Engineer and Programmer
jmaeding - athunsaker - com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost