.NET

Reply
*James Maeding
Message 1 of 6 (85 Views)

another newbie Q - managed code...

85 Views, 5 Replies
09-20-2005 09:59 AM
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
*J. Daniel Smith
Message 2 of 6 (85 Views)

Re: another newbie Q - managed code...

09-20-2005 10:38 AM in reply to: *James Maeding
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
Message 3 of 6 (85 Views)

Re: another newbie Q - managed code...

09-20-2005 10:44 AM in reply to: *James Maeding
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
*Tony Tanzillo
Message 4 of 6 (85 Views)

Re: another newbie Q - managed code...

09-21-2005 06:02 AM in reply to: *James Maeding
"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
*Tony Tanzillo
Message 5 of 6 (85 Views)

Re: another newbie Q - managed code...

09-21-2005 06:04 AM in reply to: *James Maeding
"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
*James Maeding
Message 6 of 6 (85 Views)

Re: another newbie Q - managed code...

09-22-2005 03:37 PM in reply to: *James Maeding
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
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.