|
-
Dec 26th, 2004, 02:47 PM
#1
Thread Starter
Member
JVM Vs CLR
Could anyone differenciate the Java Virtual Machine and Common Language Runtime ?
whats the major diffeneces between the two?pros cons?
thanx in advance
-
Dec 27th, 2004, 01:55 PM
#2
Thread Starter
Member
Re: JVM Vs CLR
Iam surprised to see no replies yet! Is it becoz it isnt abt coding?!?!
-
Dec 27th, 2004, 02:12 PM
#3
Retired VBF Adm1nistrator
Re: JVM Vs CLR
Well, the CLR and JVM obviously handle and execute different languages of code.
The JVM executes Java ByteCode for a given architecture, whereas the CLR executes MSIL - Microsoft Intermediate Language.
The both provide JIT compilation and garbage collection. The .NET CLR provides far far more functionality than the JVM, such as security management, COM marshalling & base class library support.
Personally I would stick with .NET and avoid Java
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Dec 27th, 2004, 02:59 PM
#4
Re: JVM Vs CLR
since this is VBFORUMS obviously you will get an MS biased opinion (which isn't bad), but I will point out a strong point of java, and that is its ability to run on any OS that supports the JVM, which right now is unix/linux/windows/mac/etc...
the .NET framework runs on... well I will give you one guess...
this isn't bad though because most target PCs will be running windows, so unless there is a need to target non windows platforms, you will find the .NET framework lots easier to deal with. I have seen some java apps in windows where they dont use any windows controls, but all the java ones like comboboxes, and scroll bars, and they really look like crap
-
Dec 27th, 2004, 05:39 PM
#5
Retired VBF Adm1nistrator
Re: JVM Vs CLR
Ahhhhh my friend, but there is also the GO MONO project
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Dec 27th, 2004, 07:07 PM
#6
Re: JVM Vs CLR
yeah but it isnt the same.. you will never get 100% compatibilty.. too many things in the framework are built around windows
-
Jan 11th, 2005, 07:15 PM
#7
Re: JVM Vs CLR
I would try to rephrase by saying that the only viable comparison would be between the Java and .Net platforms themselves. It's true that .Net is heavily influenced by Java but there are differences. To me though, the similarities are so many that any decision about what is "better" really comes down to what is it you want to do, your personal experience and your personal preference. For example, I'd hate to code front-ends in Java but I'd love to have the multitude of Java's proven patterns and practices in .Net.
Cheers,
NTG
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|