Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Machine > JVM vs .NET
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 791 of 803
Post > Topic >>

JVM vs .NET

by Jon Harrop <jon@[EMAIL PROTECTED] > Oct 6, 2007 at 06:37 AM

I'm relatively new to both the JVM and .NET and am learning Scala and F#. I
was under the impression that .NET was essentially a later and greater
reimplementation of the JVM in a Windows-specific form. However, I've just
discovered some nasty caveats in .NET.

Specifically, if you generate and use regular expressions the obvious way
then .NET leaks memory because it performs run-time compilation to improve
performance but fails to garbage collect the generated code when it is no
longer needed. There are workarounds but I've yet to see a solution that
can even garbage collect code under .NET properly, let alone an elegant
solution.

So I'm wondering what the JVM crowd have to say about the relative
deficiencies of the JVM and .NET. Does the JVM garbage collect code
correctly? Are there glaring flaws in the JVM?

I'm aware of the array covariance problem in the JVM.

-- 
Dr Jon D Harrop, Flying Frog Consultancy
http://www.ffconsultancy.com/products/?u




 6 Posts in Topic:
JVM vs .NET
Jon Harrop <jon@[EMAIL  2007-10-06 06:37:55 
Re: JVM vs .NET
efriedNoSpam@[EMAIL PROTE  2007-10-07 04:34:25 
Re: JVM vs .NET
Roedy Green <see_websi  2007-10-11 01:19:36 
Re: JVM vs .NET
Roedy Green <see_websi  2007-10-11 01:18:50 
Re: JVM vs .NET
Gordon Beaton <n.o.t@[  2007-10-11 16:34:56 
Re: JVM vs .NET
Nikolaus Wagner <spam_  2007-10-12 23:41:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 12:44:50 CDT 2008.