View Full Version : Managed code
ihavenoname
19th April 2008, 02:03 AM
What is the benefit? What I mean by this is, those of you who have programmed in C++ or C that use java or C#. Have you seen a dramatic increase in productivity, decrease in bugs, developer time etc. Or is there really not much benifit. Obviously if your programming something CPU intensive you wouldn't want to use managed code. I am assuming you are using it in the right places of course.
wrhansen
19th April 2008, 03:22 AM
One great benefit is portablity. You can compile java code on one machine and it will work on any other virtual machine( assuming you use the same runtime environment ).
Also, in the case of Java, you do not need to worry about memory allocation/deletion because the virtual machine has a built-in garbage collector which automagically detects when memory needs to be allocated/deleted.
I don't know if it necessarily speeds productivity as in developer time, I guess that depends on the developer.
You are right though, you would not want to use it for something CPU intensive. C is better for system level programming.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.