in reply to Re^3: Perl and C# - how I use both
in thread Perl and C# - how I use both
Is C# really better in this respect?
C# can be blazingly fast and the garbage-collector functions in a well-documented, predictable manner. Coming from Perl it worked (almost) as I would expect it to. When an object goes out of scope or has no more dangling references, it is elligible for garbage-collection.
This is WINDOWS we're talking about. If it were a car you purchased from Microsoft, it would come without locks on the doors, and the nice Michelin tires would only be yours for the first 60 days. Locks would cost extra and cause your car to be incapable of driving faster than 45 miles per hour. The same company that produces the locks would also be paying car thieves to break into cars while you're not looking.
Memory management is just not something I could consider Windows to be particularly good at. However, from my experience running BEA WebLogic (Java) instances on Windows and running fairly complex ASP.Net applications on Windows, I can say with confidence that the Java apps took about 5x more RAM and CPU than the .Net ones, and were more difficult to deploy, update, code and debug. The ASP.Net ones were fairly easy to manage and code, and ran much faster than the Java apps.
The ASP.Net apps became extremely slow when the ViewState contained too much stuff. Using ASP.Net MVC instead of the bizarre "event-based" ASP.Net (the default thing where you assign actions to the buttons that users click, etc) sped things up considerably.
.Net is definitely not my favorite thing in the world, but given the choice between doing the job in .Net and not doing it at all, I will choose .Net every time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Perl and C# - how I use both
by tilly (Archbishop) on Mar 10, 2009 at 20:51 UTC | |
by jdrago_999 (Hermit) on Mar 11, 2009 at 02:03 UTC | |
by deliria (Chaplain) on Mar 11, 2009 at 09:39 UTC | |
by jdrago_999 (Hermit) on Mar 11, 2009 at 18:37 UTC | |
by weismat (Friar) on Mar 11, 2009 at 16:51 UTC |